This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision Next revision Both sides next revision | ||
2018-2019:s3:concprogobjet:td:td1 [2018/09/07 17:54] blay [Un exemple de scénario] |
2018-2019:s3:concprogobjet:td:td1 [2018/09/07 18:25] blay [Un projet sous tests (15mn)] |
||
---|---|---|---|
Line 104: | Line 104: | ||
- | * {{fa>arrow-circle-right?24}} [[2018_2019:s3:concprogobjet:td:s3atd1:creationProjet|Créez un projet java]] | + | * {{fa>arrow-circle-right?24}} [[2018_2019:s3:concprogobjet:td:s3atd1:creationProjet|Créez un projet java]] comme nous l'avons vu en méthodo sans oublier le tests folder. |
Line 182: | Line 182: | ||
- {{fa>arrow-circle-right?24}} Visualiser la couverture de tests {{ :2018_2019:s3:methodo:td:coverage.png?direct&300 |}} | - {{fa>arrow-circle-right?24}} Visualiser la couverture de tests {{ :2018_2019:s3:methodo:td:coverage.png?direct&300 |}} | ||
- | Voici un exemple de code de test. | + | Voici un exemple de code de test pour Junit 4 (@BeforeEach and @BeforeAll are the JUnit 5 equivalents of @Before and @BeforeClass. These annotations were renamed with clearer names to avoid confusion.) |
<code java> | <code java> |