Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After build smoke tests #15

Open
5 of 6 tasks
grantmacken opened this issue Sep 17, 2019 · 1 comment
Open
5 of 6 tasks

After build smoke tests #15

grantmacken opened this issue Sep 17, 2019 · 1 comment

Comments

@grantmacken
Copy link
Contributor

grantmacken commented Sep 17, 2019

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

  • run a simple xquery expression xqerl:run()
  • compile a xquery 'main' file and run the query xqerl:compile()
  • compile a xQuery library file
  • insert and delete XML docs into and from database.
  • insert binary, text and json files into database
  • 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.

@zadean
Copy link
Owner

zadean commented Sep 17, 2019

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants