This aims to solve #27 and allow us to test we don't break anything when refactoring (related to @mattnenterprise 's question in #59 ).
This PR is mainly about improving the test infrastructure so we have an FTP server that is configured both for login with write access and for anonymous read-only access, which I believe is quite standard as a configuration and allow us to test both modes.
Now we have a Dockerfile for testing during development in addition to the .travis.yml file used by Travis CI when pushing.
I also fixed a couple of documentation examples failing tests, and improved the main test to make it repeatable. After this PR is merged, I intend to add more documentation tests.
This aims to solve #27 and allow us to test we don't break anything when refactoring (related to @mattnenterprise 's question in #59 ).
This PR is mainly about improving the test infrastructure so we have an FTP server that is configured both for login with write access and for anonymous read-only access, which I believe is quite standard as a configuration and allow us to test both modes.
Now we have a Dockerfile for testing during development in addition to the .travis.yml file used by Travis CI when pushing.
I also fixed a couple of documentation examples failing tests, and improved the main test to make it repeatable. After this PR is merged, I intend to add more documentation tests.