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

refactor tests/test_regex_identifier.py #202

Merged
merged 30 commits into from
Oct 16, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
ad530fb
refactor: basic implementation of using pytest.mark.parametrize on re…
jyooru Oct 10, 2021
a298b8f
refactor: move _assert_match_first_item seperate tests into paramater…
jyooru Oct 10, 2021
bee1aa4
Merge branch 'main' into test/parametrize
jyooru Oct 11, 2021
1f3e2fc
feat: rename `Matches` to `Examples.Valid`
jyooru Oct 11, 2021
b6d9a20
refactor: parametrize assert name not in res tests
jyooru Oct 11, 2021
632d13b
fix: ip is a valid url
jyooru Oct 11, 2021
8e3b76c
refactor: convert more _assert_match_first_item tests
jyooru Oct 12, 2021
dc92747
fix: extra comma in json
jyooru Oct 12, 2021
22f6759
refactor: paramterize other tests
jyooru Oct 13, 2021
d7f2131
fix(data/regex): jcb card number is valid
jyooru Oct 13, 2021
054379e
fix(data/regex): Amazon Web Services Secret Access Key typo
jyooru Oct 13, 2021
61274fb
fix(test): unix_timestamp match tests
jyooru Oct 13, 2021
44dfebe
refactor(test): create `regex_valid_match` function
jyooru Oct 13, 2021
407670e
refactor(test): move database tests to tests/data/
jyooru Oct 13, 2021
0f8c6b8
fix(test): set minrarity to 0 for test_valid
jyooru Oct 13, 2021
c1d2803
refactor(test): object init in test_regex_identifier
jyooru Oct 13, 2021
441d1ad
refactor(test): parametrize more tests
jyooru Oct 13, 2021
bc062a4
test: improve `test_regex_successfully_parses` regex
jyooru Oct 16, 2021
04e90c4
style: format regex.json on main branch
jyooru Oct 16, 2021
14d2f13
style: format regex.json on `test/parametrize` branch
jyooru Oct 16, 2021
20fdc50
Merge branch 'main' into test/parametrize
jyooru Oct 16, 2021
1fe2df2
style: format regex.json on main branch
jyooru Oct 16, 2021
b648185
Merge branch 'main' into test/parametrize
jyooru Oct 16, 2021
36fe955
refactor: update refactor with upstream changes
jyooru Oct 16, 2021
b96656c
refactor(test): test_regex_identifier description and exploit tests
jyooru Oct 16, 2021
0c1a6e2
style: format regex.json
jyooru Oct 16, 2021
6201fc3
refactor: finalise test_regex_identifier
jyooru Oct 16, 2021
c2bb377
refactor(test): move code into `test_regex_database.py`
jyooru Oct 16, 2021
77f2326
feat: remove temporary script accidentally commited
jyooru Oct 16, 2021
c7970e4
ci(coverage): set patch coverage to 80%
jyooru Oct 16, 2021
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
3 changes: 3 additions & 0 deletions .codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,6 @@ coverage:
project:
default:
target: 90%
patch:
default:
target: 80%
Loading