Skip to content

martinlarsson/workflow-test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

50 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status codecov

Workflow

Testing a workflow including automated tests and style checks for future courses.

Folders

A short description of the contents of the included folders.

  • lib - A collection of libraries: Hamcrest, JUnit and Checkstyle.
  • src - Source code for application.
  • test - Source code for unit tests.

Files

A short description of the included files.

  • .gitignore - Specification of which files should not be tracked by git.
  • .travis.yml - Specification of what should be run on Travis CI and in what order.
  • codecov.yml - Specification for Codecov.
  • LICENSE - License of the source code.
  • README.md - This file.
  • build.xml - Ant-file with specifics for building, executing tests and running style check.
  • sun_checks.xml - Sun Java code style rules fur checkstyle usage.

Ant

Ant is used to automate builds. The targets included in build.xml are:

  • build - Compiles source- and testfiles.
  • checkstyle - Runs checkstyle according to sun_checks.xml on all .java-files in the src dir.
  • clean - Deletes the out and report dir that init generates.
  • init - Creates the out and report dir.
  • junit - Runs JUnit tests and checks coverage.
  • report - Generates coverage data in XML-format.

The targets can be run with the command ant <target-name>.

Travis CI

This repository is using Travis CI to automatically run JUnit-tests and checkstyle. It can be monitored at travis-ci.org/martinlarsson/workflow-test.

Codecov

Codecov is used to display coverage data from Java Code Coverage (JaCoCo). It can be monitored at codecov.io/gh/martinlarsson/workflow-test.

About

Testing a workflow for future courses

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages