GitXplorerGitXplorer
a

TestNG_implement

public
0 stars
1 forks
0 issues

Commits

List of commits on branch master.
Unverified
70b92a6053bad7cb32d0074121df16a9afad0073

no message

aalexforsyth committed 9 years ago
Unverified
b714c5dd36eb8e494c7f4f0ea29799f93c5526ed

Control of test suite has been delegated to pom.xml

aalexforsyth committed 9 years ago
Unverified
9b607400917a4458a861cb2bdbbb970e3018400c

Implement code coverage report with cobertura

aalexforsyth committed 9 years ago
Unverified
dae52cbcd7d0545697925acf45af133f088a4095

Wrap-up

aalexforsyth committed 9 years ago
Unverified
bb26a680bd8c8dfaa588d7a7f4a2410747f1d64c

Example test fail

aalexforsyth committed 9 years ago
Unverified
9ffe594c3ff4dbdf7c4756ff3584d2006fab6319

Compile project

aalexforsyth committed 9 years ago

README

The README file for this repository.

TestNG_implement

This is an implementation of TestNG on a sample Java Maven Project with unit tests.

Running: Run as a maven project. Run tests with <<< mvn clean site >>> this will generate a gui that shows you the full readout of the test coverage

Goals:

  • Outline naming standards for building tests.
  • Show how we structure tests
  • Actually writing the entire test suite isn't needed

Testing Strategies:

  • Make sure each function is called
  • Make sure each function has base functionaly working
  • Make sure each function can take anything as it's imputs and behave correctly
  • Make sure tests cover 90% (or so of code);

See full site implementation here after running mvn site target/site/index.html

Abstract classes: AnimalImplementation

Method Naming; void whenThisIsOneThing_thenThisOtherThingHappens();

add classes to test in src/test/resources/testng.xml

  • Must include the full class prop name