wiki:BluePrint/Testing/EdenTest

Version 3 (modified by Arnav Sharma, 8 years ago) ( diff )

--

BluePrint: Functional Testing Suite

Introduction

Creating an automated testing suite using Robot Framework which is configurable, easy to write, easy to maintain and provides in depth logs and reports.

Functional testing needs to be an integrated part of the development process. A maintained suite of functional tests:

  • Captures user requirements in a useful way
  • Gives the team (users and developers) confidence that the system meets those requirements


The current Functional Testsuite (using just selenium) has blurred lines between script action and code. The tests break often because they can not adapt to changes in requirements or system's implementation. The tests tend to become out of sync with either of them, people stop running the tests or stop trusting the results.


This will add value to Sahanna as it will provide a handy and usable tool to script and run tests, to diagnose failures and to empower people to use and maintain the test suite.

Stakeholders

  • Developers - They will be the users as well as maintainers of the suite.
  • People using Sahana Eden - They can see which all functionalities are working as expected.

User Stories

  • A developer can use the suite to confirm that the system does what users are expecting it to and get quality in-depth report and logs to help fix the functionalities that are not behaving as expected.

Requirements

Functional

  • Detailed reports and logs. It should provide:
    • Tickets
    • Screenshots
    • Tracebacks
    • Summary reports
    • Logs of actions step by step
  • The tests should give immediate feedback.
  • Complete system testing?.
  • Ability to add a single test as well as group of tests.
  • Ability to group tests by template and functionality.

Non-functional

  • Low maintenance cost
  • Easy to understand
  • Fast
  • Report should be:
    • Structured
    • Easy to understand
    • Precise

Interoperability

<Read the articles again>

System Constraints

Design

<Where relevant include alternative design options>

Testing Architecture

http://web.iiit.ac.in/~arnav.s/sahana/testingArchitechture.png

Workflows

<Diagrams or Pseudocode>

Site Map

<for User Interface solutions>

Wireframes

<for User Interface solutions>

Technologies

Current Implementation

<Leave open for a list of existing implementation of this solution in Sahana Eden:> <*a brief description of the implementation (date/time, name, design options chosen)> <*a link to the code> <*list of deployments of the implementation> <*links to case studies> <*short analysis of achievements/problems>

Planned Implementation

<List of goals for your implementations which you (include your name/github repo/IRC handle) are currently working on>

Future Extensions

<List of features which could be included, but are outside of the scope of this extension>

Outstanding Questions

<Questions about the features or design that haven't been (and need to be) answered>

References

<Links to external resources>


BluePrint

Note: See TracWiki for help on using the wiki.