Skip to content

bjoggi5/HBV202GAssignment5

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 

Repository files navigation

HBV202GAssignment5

A very simple implementation of a stack for storinger integer numbers to be tested using JUnit4.

This project is a Maven project, i.e. it uses the standard Maven project structure that your IDE hopefully understands when you git clone it. The provided Maven POM includes the JUnit4 dependency.

Both the implementation and the tests are in Java package is.hi.hbv202g.ass5, but in the usual separate Maven src directories:

  • src/main/java:

    • IntStack.java: Implementation of a simple stack.
    • IntStackMain.java: A class with a main method demonstrating some sample usage of the stack.
  • src/test/java:

    • IntStackTest.java: A skeleton for a class containing JUnit4 test cases for the IntStack class, containing one sample test case.

Maven:

  • mvn compile compiles all implementation classes.
  • mvn exec:java executes the main method of the implementation.
  • mvn test runs all test cases (i.e. all classes with a name that either starts with Test or ends with Test, Tests, or TestCase).

About

Integer stack implementation to be tested using JUnit4. Maven project layout with POM including JUnit dependency.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages

  • Java 100.0%