Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Presentation about testability and testable code

  • ollehar
  • ollehar's Avatar Topic Author
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
4 years 5 months ago #190188 by ollehar
Hi!

Here's a presentation I and Jessica had for our internal development meetings. Feel free to read and give feedback.

Olle
The topic has been locked.
More
4 years 5 months ago #190216 by jelo
Is risk-based testing already part of LS4?

Risk-based testing - risks in LimeSurvey
1.Catastrophic: Data loss or security issues
2.Critical: Blocking issues, e.g. “Next” button doesn’t work
3.Marginal: Some rarely used option won’t save
4.Negligible: Cosmetic issues, spelling etc


The "next button" is an interesting example.

An update rendering a next button nonworking can be any severity.
When you think about running surveys, a nonworking button can be catastrophic. It can mean dataloss, when you think of a survey during an event.

Another spin: Can a ComfortUpdate bug be marignal? Any how can QA tackle ComfortUpdate?

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • ollehar
  • ollehar's Avatar Topic Author
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
4 years 5 months ago #190232 by ollehar
Sure, the severity levels can be discussed.

I wouldn't call CU bugs marginal. We have scripts to setup ComfortUpdate upgrades etc. Don't know how often they are used at the moment.
The topic has been locked.
More
4 years 5 months ago #190280 by jelo

Tests should be coupled to the behavior of code and decoupled from the structure of code. Seeing tests that fail on both counts.

medium.com/@kentbeck_7670/test-desiderata-94150638a4b3

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
  • ollehar
  • ollehar's Avatar Topic Author
  • Offline
  • LimeSurvey GmbH Employee
  • LimeSurvey GmbH Employee
More
4 years 5 months ago #190511 by ollehar

jelo wrote:

Tests should be coupled to the behavior of code and decoupled from the structure of code. Seeing tests that fail on both counts.

medium.com/@kentbeck_7670/test-desiderata-94150638a4b3


Yeah, that's what someone who promotes blackbox testing would say. :) There are many opinions about testing, for sure. Both blackbox and whitebox testing have pros and cons.
The topic has been locked.
More
4 years 5 months ago #190532 by jelo
I promote "skin in the game". If developers use there own created stuff, they feel the bugs ;-)

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose