Skip to content

Deliverable #1

Sdraugel edited this page Sep 15, 2015 · 14 revisions

Eden Installation and Testing

So far our group has been able to check out a copy of the Eden project and build/install it into a local vm running Linux Redhat. Initial installation proved to be a little bit of a challenge due to confusing installation instructions. They have, as we have seen with other installation procedures, failed to document every step in the process. The did this either because they simply forgot or, more likely, just assumed that the user had sufficient knowledge in installing their brand of software.

After the initial installation hurdles were overcome, we followed the test suite build procedure. Again, this process was not well documented and lead to wasted time looking up where files where located. Once the test suite was built we ran the test suite script runner. This script ran like it was supposed to but none of the tests passed. This is because the test runner script calls a file from a web address that the user needs admin rights (login credentials) to access. As of right now, we have requested access.

The test suite uses the Robot Framework which is a generic test automation framework for acceptance testing and acceptance test-driven development. The suite implements multiple tests like:

  • Smoke Testing - clicks through on every link within Sahana Eden and can be used to check for errors on pages and broken links.
  • Unit Tests - used to test whether specific "Units" of code are working. They are used extensively to test the Sahana Eden "S3" Framework.
  • Role Tests - used to check the permissions of user roles.
  • Benchmark Tests - a simple way of measuring the performance of the Sahana Eden "S3" Framework.
  • Load Tests - measures the performance of the entire Sahana Eden stack.

Code for running the test suite

sudo python web2py.py --no-banner -M -S eden application/eden/tests/edentest_runner.py -A testsuites #Test folder as argument

Screen Shot 2

Screen Shot

Clone this wiki locally