diff --git a/README.md b/README.md index 9963992..7256166 100644 --- a/README.md +++ b/README.md @@ -98,8 +98,9 @@ docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ luckbydic # Run Feature CLI Test using local volume docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ luckbydice:latest php tests/src/Feature/Cli.php 1d10+4*2 0 -# Run Chart Test using local volume then http://localhost/chart.html -docker run -it -p 80:80 --mount type=bind,source="$(pwd)"/,target=/application luckbydice:latest php -S 0.0.0.0:80 +# Run Interactive Tests server +docker run -it -p 80:80 --mount type=bind,source="$(pwd)"/,target=/application luckbydice:latest bash -c 'cd tests/src/Interactive && php -S 0.0.0.0:80' +# Then vist http://localhost/chart.html # Run Unit Tests using local volume docker run -it --mount type=bind,source="$(pwd)"/,target=/application/ luckbydice:latest composer test diff --git a/tests/src/Feature/Chart/chart.html b/tests/src/Feature/Chart/chart.html deleted file mode 100644 index a95693a..0000000 --- a/tests/src/Feature/Chart/chart.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - - -
- -
- - - \ No newline at end of file diff --git a/tests/src/Feature/API/Api.php b/tests/src/Interactive/API/Api.php similarity index 100% rename from tests/src/Feature/API/Api.php rename to tests/src/Interactive/API/Api.php diff --git a/tests/src/Feature/Chart/Run.php b/tests/src/Interactive/Chart.php similarity index 95% rename from tests/src/Feature/Chart/Run.php rename to tests/src/Interactive/Chart.php index dfa197b..5bcfa4f 100644 --- a/tests/src/Feature/Chart/Run.php +++ b/tests/src/Interactive/Chart.php @@ -1,7 +1,7 @@ Interactive Tests + +Chart \ No newline at end of file