Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add more color in the testing output #10267

Open
teolemon opened this issue May 10, 2024 · 2 comments
Open

Add more color in the testing output #10267

teolemon opened this issue May 10, 2024 · 2 comments

Comments

@teolemon
Copy link
Member

What

  • Add more color in the testing output

Why

  • It's not easy spotting immediately fails
    image
@teolemon
Copy link
Member Author

Also, the fail is not very verbose:
< TIMEOUT> job 23 A timeout (event) has occured (after 60.4778 seconds), job was forcefully killed
( FAILED ) job 23 tests/unit/import_convert_carrefour_france.t
< REASON > job 23 Test script returned error (Signal: 15)
< REASON > job 23 Errors were encountered (Count: 1)
< REASON > job 23 No plan was declared, and no assertions were made.
( FAILED ) job 22 tests/unit/import.t
< REASON > job 22 Test script returned error (Signal: 15)
< REASON > job 22 Errors were encountered (Count: 1)

@teolemon
Copy link
Member Author

Remove warnings or fix them:

( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "IW",origin_id => "en:IW"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "SW",origin_id => "en:SW"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "US-AL",origin_id => "en:US-AL"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "US-GA",origin_id => "en:US-GA"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "US-LA",origin_id => "en:US-LA"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "US-MS",origin_id => "en:US-MS"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "US-SC",origin_id => "en:US-SC"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "US-TX",origin_id => "en:US-TX"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "WO",origin_id => "en:WO"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "Eaux internationales",origin_id => "fr:Eaux internationales"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "S\x{e3}o Tom\x{e9} e Pr\x{ed}ncipe",origin_id => "fr:S\x{e3}o Tom\x{e9} e Pr\x{ed}ncipe"}
( DIAG ) job 6 error: ecoscore origin does not exist in taxonomy {origin => "Territoires fran\x{e7}ais du Sud",origin_id => "fr:Territoires fran\x{e7}ais du Sud"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "Protein, crude, N x 6.25 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "Ash (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "Organic acids (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA saturated (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA mono (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA poly (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 4:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 6:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 8:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 10:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 12:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 14:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 16:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 18:0 (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 18:1 n-9 cis (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 18:2 9c,12c (n-6) (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 18:3 c9,c12,c15 (n-3) (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 20:4 5c,8c,11c,14c (n-6) (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 20:5 5c,8c,11c,14c,17c (n-3) EPA (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "FA 22:6 4c,7c,10c,13c,16c,19c (n-3) DHA (g/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "Vitamin B1 or Thiamin (mg/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "Vitamin B2 or Riboflavin (mg/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "Vitamin B3 or Niacin (mg/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "Vitamin B5 or Pantothenic acid (mg/100g)"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "agmi_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "agpi_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_04_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_06_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_08_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_10_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_12_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_14_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_16_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_18_0_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_18_1_ole_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_18_2_lino_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_18_3_a_lino_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_20_4_ara_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_20_5_epa_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "ag_20_6_dha_g"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "vitamine_k2_mcg"}
( DIAG ) job 6 warning: unrecognized column name (nutrient) in CIQUAL table {column_name => "acides_organiques_g"}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: To discuss and validate
Development

No branches or pull requests

1 participant