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

'should' definitions not recognized. #24

Open
zenom opened this issue Aug 5, 2024 · 2 comments
Open

'should' definitions not recognized. #24

zenom opened this issue Aug 5, 2024 · 2 comments

Comments

@zenom
Copy link

zenom commented Aug 5, 2024

We have some older tests that still have a 'should' syntax, this is not working with the current version.

I was able to get it to recognize 'should' syntax as a test but it would not return results. (in the query definition -

).

The tests always returned the red X on the results even though they passed. Showing the test output confirms they passed. I tried different reporters for minitest to no avail.

Example:

class SampleTest < ActiveSupport::TestCase
  context 'testing' do
    should 'be true' do
      assert true
    end
  end
end
@dirodriguezm
Copy link

For me it runs all the tests in the file even if running only one test.

@zenom
Copy link
Author

zenom commented Aug 6, 2024

For me it runs all the tests in the file even if running only one test.

With the should syntax posted above?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants