wiki:Event/2013/GSoC/Testing

Version 9 (modified by somayjain, 11 years ago) ( diff )

--

BluePrints

This project draws ideas from the following Blueprint:

Developer Guidelines

Weekly Meeting

Time : Monday 0430 UTC

Venue : Skype (Contact - somay.jain)

Meeting Doc : https://docs.google.com/document/d/1cKApwBgJtKD85xObjMgCVCUazFQmG34SF1IDti5_7Ho/edit

Output : https://docs.google.com/document/d/1cKApwBgJtKD85xObjMgCVCUazFQmG34SF1IDti5_7Ho/edit#heading=h.exa85wtqdmec

Plan : https://docs.google.com/document/d/1cKApwBgJtKD85xObjMgCVCUazFQmG34SF1IDti5_7Ho/edit#bookmark=id.6ypj09l4o1fz

Milestones/ Progress

SMART Goal Measure Status
Implement Longest Word-trimmed SearchSelenium Tests : Implement Longest Word-trimmed Search for dropdown options Completed
Start CI Server Fixed the currently written scripts on the CI Server to run the Selenium and Smoke tests on IFRC and mail the results Completed
Re-Design Selenium Tests https://docs.google.com/document/d/1YtTX1lI3AbVMJSFwtsgnN-Qq7tDCQQqxYOdob8JdfpI/edit# Completed
Fix Selenium tests Fix the tests which give error on the IFRC template and make changes so that we are able to run them on other templates as well Completed
Selenium tests across templates Added tests for default, SandyRelief, DRMP, CRMT and modified the test suite to run only those tests which belong to the current template Completed
Template name in report Added the template name in the HTML report generated for the tests Completed
Load tests setup Installed tools(erlang, tsung, etc) - Load/Setup on the CI Server for load testing Completed
Better reporting of tests Fixed the reporting of the Smoke tests. They now show fail status on finding atleast one broken link. Also, modified error messages of Selenium tests so that they are clearer, easier to reproduce Completed
Automatic detection of field types Automatically detect the field type (option/autocomplete/date/datetime/normal text input) by inspecting the class name of the field. Also, since option/autocomplete/automatic options are no longer needed, removed them from the tests so that it is now easier to write the Selenium tests Completed
Tests email format Modified the tests results email format so that the results are reported in a tabular format with color coding (easier to visually see the test results) Completed
Document Selenium tests on the wiki After all modifications are made to the Selenium tests, document the design of the Selenium tests on the wiki - DeveloperGuidelines/Testing/Selenium Completed
Roles tests fixes Fix the roles tests run on the IFRC templates. All of them fail currently Completed
Include roles tests in CI Make the roles tests run from the CI Server and send it's report in the test results email Completed
Set up a mailing list Set up a mailing list to send out test results so that people may subscribe to the list to get the test results. The mailing list can be found here - https://groups.google.com/forum/?fromgroups=#!forum/sahana-eden-ci-server Completed
Options for CI Look at possible options(Jenkins, Selenium Grid, Solano, Eden) for the CI Server and document advantages/disadvantages. PossibleOptions Completed
Design load tests Formulate a design of the load tests and document on the wiki. LoadTestsDesign Completed
Login Load test Include helpers for the load test which enables a user to login into Eden. These helpers should be such that they must be reusable into different tests. Completed
Smoke tests fixes Fix the failing Smoke tests run on various templates Completed
Extend roles tests for other templates Extend roles tests for the following templates - DRMP Completed
Revisit Load tests Investigate load tests, read discussions on the list and on the web about load tests Completed
Create Staff load test Create a test which creates random staff records, adds them to the database in phases which have increasing load Completed
Start load tests from CI Server Setup the CI Server to run tsung and hence run load tests and save the results - Results Completed
Deploy Eden on Heroku Deploy Eden on heroku and make a deployment script - Heroku. Deployed instance - eden Completed
Deploy Eden on AWS Deploy Eden on Amazon EC2 micro instance. Deployed instance - eden Completed
Move selenium to another directory Moved the selenium tests to another subdirectory named 'functional' Completed

Note: See TracWiki for help on using the wiki.