Project

General

Profile

Actions

Feature #6695

closed

Bridge needs basic functional tests

Added by Evgeny Novikov about 8 years ago. Updated almost 8 years ago.

Status:
Closed
Priority:
Urgent
Category:
Testing
Target version:
-
Start date:
02/02/2016
Due date:
% Done:

100%

Estimated time:
Published in build:
040582c

Description

Bridge is the only Klever component that has an access to a database, thus it has to always behave correctly. The only way to ensure this somehow is to develop and automatically run a plenty of tests.

Actions #1

Updated by Evgeny Novikov about 8 years ago

See https://docs.djangoproject.com/en/1.9/topics/testing/ to get a basic knowledge about Django projects testing.

Actions #2

Updated by Evgeny Novikov almost 8 years ago

  • Priority changed from Normal to Urgent

We just need them.

Actions #3

Updated by Evgeny Novikov almost 8 years ago

An initial set of tests should include at least some tests for all basic functions like registration of users, changing of user profiles, viewing jobs, reports and marks, creating/updating jobs and marks, downloading/uploading archives of jobs and marks.

More advanced tests can include checks of various user rights for performing various operations, performance tracking, more different cases briefly covered in the initial set of tests, in particular, stress tests, proper visualization of error traces and so on.

Actions #4

Updated by Evgeny Novikov almost 8 years ago

  • Subject changed from Bridge needs tests to Bridge needs basic functional tests
Actions #5

Updated by Vladimir Gratinskiy almost 8 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

An initial set of tests is in the branch "testing".

Actions #6

Updated by Evgeny Novikov almost 8 years ago

  • Status changed from Resolved to Closed
  • Published in build set to 040582c

Great! I merged the branch to master in 040582c.

In addition to tests themselves there are several small improvements in implementation.

There are instructions how to test Klever Bridge in the developer documentation.

Actions

Also available in: Atom PDF