Skip to content

polytechnice-si/3A-test-framework

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

The Polytech Test Framework

Rationale

  • Understand the implementation principles hidden in classical testing frameworks
  • Experiment advanced mechanisms of Java such as class annotations and reflexivity

Repository Organization

Framework Contents

Polytest: Unit tests (JUnit)

  • [] Validating assertions
    • [] failing
    • [] asserting True or False
    • [] asserting equality
  • [] Annotating methods as Tests
  • [] Catching exceptions when relevant
  • [] Running Tests
  • [] Execution semantics (before/after, ignore, parallel)

Polymock: Mocks & Spies (Mockito)

  • [] Intercepting calls to methods
  • [] spying on methods' executions
  • [] mocking methods answers
  • [] the "final" problem

Polymber: Acceptance Scenarios (Cucumber)

  • [] Express a regular expression to trigger a test
  • [] Execution semantics: Given, When, Then
  • [] Using parameters to customize tests

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages