issues
search
rubocop
/
minitest-style-guide
Best practices for writing your tests
https://minitest.rubystyle.guide
70
stars
15
forks
source link
issues
Newest
Newest
Most commented
Recently updated
Oldest
Least commented
Least recently updated
Minitest/RefuteInDelta (& Minitest/AssertInDelta?) not safe for autocorrect
#62
MatzFan
opened
3 months ago
0
assert_equal(true, actual) is innocent!
#61
MatzFan
opened
4 months ago
1
Improve consistency across code samples
#60
Uaitt
closed
7 months ago
1
Bump actions/setup-python from 4 to 5
#59
dependabot[bot]
closed
11 months ago
0
Bump actions/checkout from 3 to 4
#58
dependabot[bot]
closed
1 year ago
0
Remove an incorrect example from `Refute Equal` rule
#57
koic
closed
1 year ago
0
Add section to discourage use of extension hooks
#56
tejasbubane
closed
1 year ago
0
Prefer skip over return for skipping test cases
#55
tejasbubane
closed
1 year ago
1
Add preferred style for hooks ordering
#54
tejasbubane
closed
1 year ago
3
Use `assert_same` and `refute_same` instead of `equal?`
#53
tejasbubane
closed
1 year ago
4
Use `test_` prefix convention for gems
#52
andyw8
closed
1 year ago
1
Bump actions/checkout from 2 to 3
#51
dependabot[bot]
closed
1 year ago
0
Bump actions/setup-python from 2 to 4
#50
dependabot[bot]
closed
1 year ago
0
Added dependabot for GitHub Actions
#49
ydah
closed
1 year ago
0
Remove definite article from title
#48
andyw8
closed
2 years ago
0
Avoid lifecycle methods not intended for test developers
#47
andyw8
closed
1 year ago
0
Added duplicated tests run hint.
#46
ignacio-chiazzo
closed
2 years ago
2
Add warning about inheriting from other tests
#45
andyw8
closed
2 years ago
1
Suggest enabling `make_my_diffs_pretty!`
#44
andyw8
opened
2 years ago
0
Any conventions for naming individual tests?
#43
codedeleter
closed
2 years ago
2
Add spell checking GitHub Actions workflow
#42
koic
closed
3 years ago
0
Recommend passing a failure_message when calling `assert` with a single argument
#41
gareth
closed
2 years ago
1
Add guidance for test filenames
#40
andyw8
closed
4 years ago
3
Add section about Test Doubles
#39
andyw8
closed
4 years ago
4
Mocha guidance
#38
andyw8
opened
4 years ago
0
Coverage of mocha
#37
andyw8
closed
4 years ago
2
Add RSpec comparison for expected/actual ordering
#36
andyw8
closed
4 years ago
1
Add `super` advice for hooks
#35
andyw8
closed
4 years ago
1
Specifying files should end in `_test` or start with `test_`
#34
NatMorcos
closed
4 years ago
3
Add "Unspecified exception" section
#33
fatkodima
closed
4 years ago
2
Add "Assert Silent" rule
#32
fatkodima
closed
4 years ago
2
Add "Assert Path Exists" and "Refute Path Exists" rules
#31
fatkodima
closed
4 years ago
1
Added style guides for assert/refute_predicate
#30
abhaynikam
closed
4 years ago
1
Added style guide for assert_output
#29
abhaynikam
closed
4 years ago
1
[Fix #25] Add global expectations rule
#28
koic
closed
4 years ago
3
Prefer using assert_empty instead of assert([], object)
#27
tejasbubane
closed
5 years ago
2
Recommend `assert/refute_kind_of` over `kind_of?` check
#26
tejasbubane
closed
5 years ago
1
Feature Request : Enforce consistency
#25
coding-red-panda
closed
4 years ago
14
Assert and refute with a negation
#24
herwinw
closed
2 years ago
2
Add Rule to assert/refute Include Of
#23
duduribeiro
closed
5 years ago
2
Adds style guide for assert/refute_respond_to
#22
abhaynikam
closed
5 years ago
1
Renamed the argument name from actual to object
#21
abhaynikam
closed
5 years ago
0
Use `==` method instead of `eql?` method for "Refute Equal" rule
#20
koic
closed
5 years ago
2
Adds style guide for assert/refute_match
#19
abhaynikam
closed
5 years ago
1
Adds style guide for assert/refute_operator
#18
abhaynikam
closed
5 years ago
3
Fix a typo for assert includes and refute includes rules
#17
koic
closed
5 years ago
1
Fixed the refute_nil bad example case
#16
abhaynikam
closed
5 years ago
0
Guides for assertion matcher.
#15
abhaynikam
closed
2 years ago
4
Added style guide for Refute-Equal
#14
abhaynikam
closed
5 years ago
1
Added style guide for Refute-In-Delta and updated description for Assert In Delta
#13
abhaynikam
closed
5 years ago
3
Next