Skip to content

String to Decimal Converter testing runs all the files #283

@amishn2008

Description

@amishn2008

When running the tests for string to decimal converter for the added scientific notation support, I noticed that it was running tests for evert csv file in sample data. I would have expected it to just give me a yes or no for each of the tests described in tests/unit/test_string_to_decimal_converter.cpp

This was the command I ran:

.venv/bin/ctest --test-dir build/Debug --output-on-failure test_string_to_decimal_converter.cpp

Output:

6/66 Test  #6: stress_belgium_by_region_simplified_since_1995_belgium_population_by_region_simplified_2022_
csv ...............   Passed    0.17 sec
      Start  7: stress_belgium_by_region_since_1995_belgium_population_by_region_2022_csv
 7/66 Test  #7: stress_belgium_by_region_since_1995_belgium_population_by_region_2022_csv ..................
...................   Passed    0.17 sec
      Start  8: stress_brazil_by_state_since_1988_brazil_population_by_state_2021_csv
 8/66 Test  #8: stress_brazil_by_state_since_1988_brazil_population_by_state_2021_csv ......................
...................   Passed    1.42 sec
      Start  9: stress_china_by_province_with_chinese_taipei_since_1998_china_population_by_province_2020_cs
v
 9/66 Test  #9: stress_china_by_province_with_chinese_taipei_since_1998_china_population_by_province_2020_cs
v .................   Passed    1.21 sec
      Start 10: stress_conterminous_usa_by_state_since_1959_conterminous_usa_population_by_state_2020_csv
10/66 Test #10: stress_conterminous_usa_by_state_since_1959_conterminous_usa_population_by_state_2020_csv ..
...................   Passed    0.65 sec
      Start 11: stress_contiguous_usa_by_county_since_2001_usa_population_by_county_2021_csv

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions