Method: LearnTest::Strategies::Pytest#test_files

Defined in:
lib/learn_test/strategies/pytest.rb

#test_filesObject



29
30
31
32
# File 'lib/learn_test/strategies/pytest.rb', line 29

def test_files
  # pytest will run all files of the form test_*.py or *_test.py
  @test_files ||= Dir.glob('**/test_*.py') + Dir.glob('**/*_test.py')
end