Skip to content

Provides successful and failing builds for easy testing of CI servers. Mercurial version at https://bitbucket.org/bruno/testproject

Notifications You must be signed in to change notification settings

brutasse-archive/testproject

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

Test Project

This aims at providing a sample project for testing CI tools.

This should provide:

  • Successful builds
  • Failing builds
  • Builds failing for a specific configuration

Running the tests

virtualenv test --python pythonX.Y --no-site-packages
source test/bin/activate
pip install nose coverage
nosetests [<nose opts>] project.py

XUnit test output

nosetests --with-xunit project.py

The report is written to nosetests.xml.

Cobertura coverage reports

nosetests --with-coverage --cover-package=project project.py
coverage xml

The coverage file is available as coverage.xml

About

Provides successful and failing builds for easy testing of CI servers. Mercurial version at https://bitbucket.org/bruno/testproject

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages