xqerl icon indicating copy to clipboard operation
xqerl copied to clipboard

After build smoke tests

Open grantmacken opened this issue 4 years ago • 1 comments

I've opened this issue to discuss after build smoke tests. This could be done with travis.yml file

  • build docker image from repo after each branch commit/push
  • run newly built container
  • do smoke tests in the form of user orientated tasks in travis script section

As rough outline the smoke test should cover what a user should be able to do

  • [x] run a simple xquery expression xqerl:run()
  • [x] compile a xquery 'main' file and run the query xqerl:compile()
  • [x] compile a xQuery library file
  • [x] insert and delete XML docs into and from database.
  • [ ] insert binary, text and json files into database
  • [x] via curl, use each the rest methods to GET, POST, PUT, DELETE database resources via restXQ endpoint

and anything else the user should be able to do.

grantmacken avatar Sep 17 '19 06:09 grantmacken

Good idea and something I've been hoping to get to but haven't. I think all the DB actions could be done using the common_test framework. This would just mean making the test suites.

Another good smoke test would be a dialyzer run to look for broken or dead code.

zadean avatar Sep 17 '19 07:09 zadean