Automated testing (AT) is one of the cornerstones of agile software engineering, with its short development cycles. In continuous integration/deployment (CI/CD) pipelines, AT is a safeguard against software regression due to side effects, unintentional changes, or changes in the environment. While AT provides huge benefits for agile software engineering, there is a risk that the test cases are too specific – only testing one sample pair of input–output – thus making them inefficient. We propose “near failure assertion” to analyse variation around the output of a test case. In contrast to the standard assertion, where test cases are asserted a specific output value or condition, the proposed approach asserts the ‘surrounding’ values, to identify if the software feature works as expected or is at risk of failing. The assertion is hence not only a binary pass/fail, but a pass/fail risk distribution. The new approach – inspired by near crash analysis in traffic monitoring – is expected to provide more information from each of the automated test cases, and thereby make regression testing more efficient. The project will be conducted within our collaboration with BTH, or extended with other relevant partners.
Gällande start-/slutdatum2021/01/012022/12/31
  • A Literature Survey of Assertions in Software Testing

    Taromirad, M. & Runeson, P., 2023, 8th International Conference on the Engineering of Computer Based Systems. Margaria, T. & Krofron, J. (red.). Springer, (Lecture Notes in Computer Science; vol. 14390).

    Forskningsoutput: Kapitel i bok/rapport/Conference proceedingKonferenspaper i proceedingPeer review

    Öppen tillgång
    90 Nedladdningar (Pure)
  • Near Failure Analysis Using Dynamic Behavioural Data

    Taromirad, M. & Runeson, P., 2022 nov. 22, Product-Focused Software Process Improvement: 23rd International Conference, PROFES 2022, Jyväskylä, Finland, November 21–23, 2022, Proceedings. Taibi, D., Kuhrmann, M., Mikkonen, T., Abrahamsson, P. & Klünder, J. (red.). Springer Science and Business Media B.V., s. 171-178 8 s. (Lecture Notes in Computer Science; vol. 13709).

    Forskningsoutput: Kapitel i bok/rapport/Conference proceedingKonferenspaper i proceedingPeer review