Difference between revisions of "Testing"

From Developer Documents
Jump to navigation Jump to search
 
(11 intermediate revisions by one other user not shown)
Line 1: Line 1:
 +
This page is out of date.
 +
 
== Overview ==
 
== Overview ==
  
Line 6: Line 8:
  
 
Tests will be a plug-in under org.simantics.tests and the tests will be run on [http://www.simantics.org/jenkins/ jenkins] in the section tab called Testing. All the tests and their results can be found on [http://www.simantics.org/jenkins/view/Testing/ here]
 
Tests will be a plug-in under org.simantics.tests and the tests will be run on [http://www.simantics.org/jenkins/ jenkins] in the section tab called Testing. All the tests and their results can be found on [http://www.simantics.org/jenkins/view/Testing/ here]
 +
 +
= Jenkins =
 +
  
 
= Test suites =
 
= Test suites =
  
Test suites will be divided into different sections. First Regressions.
+
Test suites will be divided into different sections. First unit tests that will do for example regression tests, stress tests etc. Unit tests are done with JUnit 4.
 +
 
 +
Another testing tool is Squish. With Squish you can test your applications GUI and its performance. Squish tests are also run under Jenkins.
 +
 
 +
==Suite_sysdyn-1.5==
 +
 
 +
suite_sysdyn-1.5 is a test suite done with Squish. It runs simple GUI tests on simantics.org/jenkins.
 +
 
 +
=== TS01_Product_Launching===
 +
 
 +
* First test. This is just to check that Sysdyn opens up and shuts down correctly.
 +
* [http://www.simantics.org/jenkins/view/Testing/job/TS01_Product_Launching/lastBuild/squishReport/ Result page.]
 +
[[http://www.simantics.org/jenkins/view/Testing/job/TS01_Product_Launching/lastBuild/squishReport/|target='_new']
 +
 
 +
===TS02_Add_Components===
 +
 
 +
* This test creates new model and adds couple components and then verifys if the components are shown correctly on the diagram.
 +
* [http://www.simantics.org/jenkins/view/Testing/job/TS02_Add_components/lastBuild/squishReport/ Result page.]
  
=Regressions=
+
===TS03_Trends===
 +
 
 +
* This test creates new model and then checks if the trend are active and it is confugrable.
 +
* [http://www.simantics.org/jenkins/view/Testing/job/TS03_Trend/lastBuild/squishReport/ Result page.]
 +
 
 +
===TS04_Renaming_Model===
 +
 
 +
* This test creates new model and opens it to diagram. Then renames the model and reopens the model to diagram and sees if it success.
 +
* [http://www.simantics.org/jenkins/view/Testing/job/TS04_Renaming_Model/lastBuild/squishReport/ Result page.]
 +
 
 +
===TS05_Sheet===
 +
 
 +
*This test creates new sheet and tries to edit it and add numbers etc.
 +
* [http://www.simantics.org/jenkins/view/Testing/job/TS05_Sheet/lastBuild/squishReport/ Result page.]
 +
 
 +
 
 +
=== Results ===
 +
 
 +
Results can be found here [http://www.simantics.org/jenkins/view/Testing/ in jenkins.]
 +
 
 +
==Regressions==
 +
 
 +
Regression testing aims to uncover new errors, or regressions, in existing functionality after changes have been made to a system, such as functional enhancements, patches or configuration changes.
 +
 
 +
Sources for current tests can be found at [https://www.simantics.org/svn/simantics/db/trunk/org.simantics.db.tests/src/org/simantics/db/tests/ Simantics SVN.]
  
 
===Simantics Regressions 1===
 
===Simantics Regressions 1===
  
 
[http://www.simantics.org/jenkins/view/Testing/job/Simantics%20Regression%201/ Simantics Regressions 1] is the main suite for simantics database regression tests. In this suite there is only the tests that will pass every time. If some test fails it will be moved to Simantics Regressions 2.
 
[http://www.simantics.org/jenkins/view/Testing/job/Simantics%20Regression%201/ Simantics Regressions 1] is the main suite for simantics database regression tests. In this suite there is only the tests that will pass every time. If some test fails it will be moved to Simantics Regressions 2.
 +
 +
====Results====
 +
 +
Latest test results can be found [http://www.simantics.org/jenkins/view/Testing/job/Simantics%20Regression%201/lastCompletedBuild/testReport/ here.]
  
 
===Simantics Regressions 2===
 
===Simantics Regressions 2===
  
[http://www.simantics.org/jenkins/view/Testing/job/Simantics%20Regression%202/ Simantics Regressions 2] is the secondary suite for simantics database regression tests. This suite is the place for tests that have previously passed but then during the current sprint turned out to be failure.  After every sprint this suite will be cleaned and the tests that passes in this suite will be moved to Simantics Regressions 1. Tests that fails  will be either moved to Simantics Regressions 3 or dumpster.
+
[http://www.simantics.org/jenkins/view/Testing/job/Simantics%20Regression%202/ Simantics Regressions 2] is the secondary suite for simantics database regression tests. This suite is the place for tests that have previously passed but then during the current sprint turned out to be failure.  After every sprint this suite will be cleaned and the tests that passes in this suite will be moved to Simantics Regressions 1. Tests that fails  will be either moved to Simantics Regressions 3 or Regressions 4.
  
 
===Simantics Regressions 3===
 
===Simantics Regressions 3===

Latest revision as of 10:39, 25 September 2016

This page is out of date.

Overview

The testing section gives information about tests and their results. The build setups and automation are also explained here.

General

Tests will be a plug-in under org.simantics.tests and the tests will be run on jenkins in the section tab called Testing. All the tests and their results can be found on here

Jenkins

Test suites

Test suites will be divided into different sections. First unit tests that will do for example regression tests, stress tests etc. Unit tests are done with JUnit 4.

Another testing tool is Squish. With Squish you can test your applications GUI and its performance. Squish tests are also run under Jenkins.

Suite_sysdyn-1.5

suite_sysdyn-1.5 is a test suite done with Squish. It runs simple GUI tests on simantics.org/jenkins.

TS01_Product_Launching

  • First test. This is just to check that Sysdyn opens up and shuts down correctly.
  • Result page.

[[1]

TS02_Add_Components

  • This test creates new model and adds couple components and then verifys if the components are shown correctly on the diagram.
  • Result page.

TS03_Trends

  • This test creates new model and then checks if the trend are active and it is confugrable.
  • Result page.

TS04_Renaming_Model

  • This test creates new model and opens it to diagram. Then renames the model and reopens the model to diagram and sees if it success.
  • Result page.

TS05_Sheet

  • This test creates new sheet and tries to edit it and add numbers etc.
  • Result page.


Results

Results can be found here in jenkins.

Regressions

Regression testing aims to uncover new errors, or regressions, in existing functionality after changes have been made to a system, such as functional enhancements, patches or configuration changes.

Sources for current tests can be found at Simantics SVN.

Simantics Regressions 1

Simantics Regressions 1 is the main suite for simantics database regression tests. In this suite there is only the tests that will pass every time. If some test fails it will be moved to Simantics Regressions 2.

Results

Latest test results can be found here.

Simantics Regressions 2

Simantics Regressions 2 is the secondary suite for simantics database regression tests. This suite is the place for tests that have previously passed but then during the current sprint turned out to be failure. After every sprint this suite will be cleaned and the tests that passes in this suite will be moved to Simantics Regressions 1. Tests that fails will be either moved to Simantics Regressions 3 or Regressions 4.

Simantics Regressions 3

Simantics Regressions 3 is the suite for tests that will be repaired during current sprint and then moved to Simantics Regressions 1.

Simantics Regressions 4

Simantics Regressions 4 is the suite for tests that have been put on hold but maybe in future will be revived or not.

Current Database Tests

Current tests (db-tests)