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

Test timers #20

Merged
merged 29 commits into from
Nov 15, 2023
Merged
Changes from 1 commit
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
66f0b9c
Added test timing. Blocking some long running tests to ease further d…
Nov 8, 2023
1327dce
Removed long running test for ease of development
Nov 8, 2023
ce7e547
Updated caseologue_python yml to upload timing
Nov 8, 2023
62953f5
Removing unused code
Nov 8, 2023
f4c4ff7
Combining output into one file
Nov 8, 2023
9d81946
Alternative syntax
Nov 8, 2023
4609078
Last try
Nov 8, 2023
8f7fb0b
Last last try
Nov 8, 2023
030c47f
dummy file test
Nov 8, 2023
327fff6
trial and error
Nov 13, 2023
26853a5
Merge pull request #2 from maanst/test_timers
maanst Nov 13, 2023
fd26a4c
change sync to fork repo
Nov 13, 2023
274b444
clean-up
Nov 13, 2023
7693bbf
Further clean-up
Nov 13, 2023
095130b
Reinstated time consuming tests
Nov 13, 2023
45e75f3
Forgot to change names of tests
Nov 13, 2023
e886a7b
Explicit reference to current branch in current repo
Nov 13, 2023
bf7b6b0
Removing 'ref:' as it might differ from default
Nov 13, 2023
d2114d1
Relying on default repo/branch
Nov 13, 2023
c7215ee
Removing hardcoding of repo
Nov 13, 2023
12f8094
Removing reference to saved table. Timing is shown in stdout of each run
Nov 13, 2023
9f39f1c
More descriptive name of column
Nov 13, 2023
0c5d9cf
Descriptive name, propagation
Nov 13, 2023
b9bf9d7
Updated actions/checkout to v3
Nov 13, 2023
2d93454
Remaining v2 to v3
Nov 13, 2023
a63cc63
Remaining remaining v2 to v3
Nov 13, 2023
1389720
Updated the README adding curation only workflow.
Nov 13, 2023
d6f7dba
Merge pull request #3 from maanst/update_actions_version
maanst Nov 13, 2023
f2d4caa
Minor reformatting (#4)
maanst Nov 15, 2023
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Reinstated time consuming tests
Marius André Strand committed Nov 13, 2023

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
commit 095130b68abafede737b171ab9e56e65e6c73203
6 changes: 3 additions & 3 deletions caseologue_python/caseologue.py
Original file line number Diff line number Diff line change
@@ -59,20 +59,20 @@ def suite():

if run_essential == True:
suite.addTest(EdamQueryTest("test_super_class_refers_to_self"))
# suite.addTest(EdamQueryTest("test_bad_uri_reference")) # t -> x
suite.addTest(EdamQueryTest("test_bad_uri_reference"))
suite.addTest(EdamQueryTest("test_empty_property"))
suite.addTest(EdamQueryTest("test_id_unique"))
suite.addTest(EdamQueryTest("test_spelling_check"))

if run_error == True:
# suite.addTest(EdamQueryTest("test_mandatory_property_missing")) # t -> x
suite.addTest(EdamQueryTest("test_mandatory_property_missing"))
suite.addTest(EdamQueryTest("test_deprecated_replacement"))
suite.addTest(EdamQueryTest("test_missing_deprecated_property"))
suite.addTest(EdamQueryTest("test_next_id_modif"))
suite.addTest(EdamQueryTest("test_subset_id"))
suite.addTest(EdamQueryTest("test_object_relation_obsolete"))
suite.addTest(EdamQueryTest("test_bad_uri"))
# suite.addTest(EdamQueryTest("test_duplicate_in_concept")) # t -> x
suite.addTest(EdamQueryTest("test_duplicate_in_concept"))

return suite

6 changes: 3 additions & 3 deletions caseologue_python/test/test_caseologue.py
Original file line number Diff line number Diff line change
@@ -68,16 +68,16 @@ def test_caseologue(name,nb_expected_error):
test_caseologue(name= "deprecated_replacement_obsolete", nb_expected_error=1)
test_caseologue(name= "super_class_refers_to_self", nb_expected_error=1)
test_caseologue(name= "bad_uri", nb_expected_error=2)
# test_caseologue(name= "mandatory_property_missing", nb_expected_error=5)
test_caseologue(name= "mandatory_property_missing", nb_expected_error=5)
test_caseologue(name= "formatting", nb_expected_error=5)
test_caseologue(name= "deprecated_replacement", nb_expected_error=1)
# test_caseologue(name= "bad_uri_reference", nb_expected_error=6)
test_caseologue(name= "bad_uri_reference", nb_expected_error=6)
test_caseologue(name= "missing_deprecated_property", nb_expected_error=3)
test_caseologue(name= "check_wikipedia_link", nb_expected_error=2)
test_caseologue(name= "identifier_property_missing", nb_expected_error=1)
test_caseologue(name= "id_unique", nb_expected_error=2)
test_caseologue(name= "relation_too_broad", nb_expected_error=1)
# test_caseologue(name= "duplicate_in_concept", nb_expected_error=2)
test_caseologue(name= "duplicate_in_concept", nb_expected_error=2)
# test_caseologue(name= "duplicate_all", nb_expected_error=1)
test_caseologue(name= "literal_links", nb_expected_error=1)
test_caseologue(name= "next_id_modif", nb_expected_error=1)