Skip to content
master
Switch branches/tags
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
src
 
 
 
 
 
 
 
 
 
 
 
 

Natural Strategy Setup

Web configuration of investment strategy for RoboZonky.

Run in development mode

Install elm-live and run

./shake.hs dev-server

This starts a development server which opens the running app in the browser and live-reloads it on any change to elm files.

Run tests

There is elm-test based suite of unit tests in tests folder, which can be run from the root of the project using elm-test.

There is a Java maven based suite of selenium integration tests in integration-tests. This one requires robozonky-strategy-natural jar of corresponding version (see integration-tests/pom.xml) to be installed in local m2 repo:

git clone git@github.com:RoboZonky/robozonky.git
cd RoboZonky
mvn clean install -DskipTests -Dgpg.skip=true

You also need warp (web server) binary which is used to serve the app for selenium tests.

stack install wai-app-static --resolver lts-17.14

After you have elm-test and warp binaries installed and robozonky artifacts built in your m2 repo you can run all tests using:

./shake.hs itest

Release new strategy version

Whenever there are backwards incompatible changes to the strategy format, the commit before them needs to be tagged and testing app built from the repo based on that tag should be uploaded to nss-strategy-compat for future backward compatibility testing:

NEW_VERSION=v0.6
git tag -a $NEW_VERSION -m"DESCRIBE CHANGES"
# After running tests
mkdir ~/Devel/github.com/jhrcek/jhrcek.github.io/nss-strategy-compat/$NEW_VERSION
mv integration-tests/target/testApp.html ~/Devel/github.com/jhrcek/jhrcek.github.io/nss-strategy-compat/$NEW_VERSION/index.html
# Add links to jhrcek.github.io/nss-strategy-compat/README.md

About

Webový konfigurátor investiční strategie pro RoboZonky

Resources

Packages

No packages published