Skip to content

Common library for Green Button Third Party and Data Custodian OpenESPI Applications

Notifications You must be signed in to change notification settings

SekharBeri/OpenESPI-Common-java

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenESPI-Common

Common run-time and test code shared between OpenESPI-DataCustodian and OpenESPI-ThirdParty.

Setup

First clone the project from github:

git clone https://github.com/energyos/OpenESPI-Common.git
cd OpenESPI-Common

Then install the OpenESPI-Common JAR in your local repository:

mvn clean install

IDE Setup

Eclipse Setup

Open Eclipse and import a Maven project (File > Import... > Maven > Existing Maven Projects).

Spring Tool Suite Setup

Open Spring Tool Suite and import a Maven project (File > Import... > Maven > Existing Maven Projects).

IntelliJ Setup

Open IntelliJ and open the project (File > Open...).

Testing

Unit Tests

To run all Unit tests:

mvn test

Run a single test class:

mvn -Dtest=<TestClassName> test
mvn -Dtest=HomeControllerTests test

Run a single test in a single class:

mvn -Dtest=<TestClassName>#<testMethodName> test
mvn -Dtest=HomeControllerTests#index_shouldDisplayHomePage test

About

Common library for Green Button Third Party and Data Custodian OpenESPI Applications

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Java 99.0%
  • Shell 1.0%