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

I find our lack of tests disturbing #11

Closed
mamacdon opened this issue Dec 10, 2012 · 3 comments
Closed

I find our lack of tests disturbing #11

mamacdon opened this issue Dec 10, 2012 · 3 comments

Comments

@mamacdon
Copy link
Owner

There are currently no tests for the Orionode server's REST APIs. This will not stand.

The APIs that need to be tested are:

The test runner basically needs to do this:

  1. Launch Orionode server
  2. Perform requests to one of the APIs
  3. Verify the response.

Since the /file and /workspace APIs are a direct clone of the Orion Java server's APIs, we should investigate whether the Java server tests can be reused. If that's unfeasible (which it may be, as those tests depend heavily on a lot of Java server code), then maybe we can just borrow some of their test logic.

@mamacdon
Copy link
Owner Author

Should investigate Mocha for unit testing.

@BorisKozo
Copy link

We are currently using Mocha tests for our project and they work pretty well

@libingw
Copy link
Collaborator

libingw commented Dec 14, 2012

@libingw libingw closed this as completed Dec 14, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants