Skip to content
GitLab
Projects Groups Topics Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • bob bob
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributor statistics
    • Graph
    • Compare revisions
  • Issues 3
    • Issues 3
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 0
    • Merge requests 0
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • bobbob
  • bobbob
  • Issues
  • #271
Closed
Open
Issue created Dec 14, 2021 by Amir MOHAMMADI@amohammadiOwner

Pytest compatibility

When we use pytest to test our packages, some tests do not run because they are not found by pytest. Pytest ignores test.py files and does not consider them tests! Looking at the checkout of some bob packages that I have, these packages have a test.py file:

../bob.pad.base/bob/pad/base/test/test.py
../bob.db.mnist/bob/db/mnist/test.py
../bob.io.image/bob/io/image/test.py
../bob.db.atnt/bob/db/atnt/test.py
../bob.bio.vein/bob/bio/vein/tests/test.py
../bob.blitz/bob/blitz/examples/bob.example.extension/bob/example/extension/test.py                         
../bob.blitz/bob/blitz/examples/bob.example.library/bob/example/library/test.py                             
../bob.blitz/bob/blitz/examples/bob.example.project/bob/example/project/test.py                             
../bob.blitz/bob/blitz/test.py
../bob.devtools/bob/devtools/scripts/test.py
../bob.learn.activation/bob/learn/activation/test.py
../bob.io.stream/bob/io/stream/test/test.py
../bob.ip.stereo/bob/ip/stereo/test/test.py
../bob.io.audio/bob/io/audio/test.py
../bob.io.video/bob/io/video/test.py
../bob.ip.color/bob/ip/color/test.py
../bob.ip.facedetect/bob/ip/flandmark/test.py
../bob.ip.gabor/bob/ip/gabor/test.py
../bob.ip.qualitymeasure/bob/ip/qualitymeasure/test.py                                                      
../bob.learn.linear/bob/learn/linear/test.py
../bob.learn.pytorch/bob/learn/pytorch/test/test.py
Assignee
Assign to
Time tracking