This commit is contained in:
Balena CI 2022-08-24 17:33:20 -04:00 committed by VersionBot
parent 222c097d4b
commit ba66b10c0e
6 changed files with 193 additions and 146 deletions

View File

@ -1,3 +1,44 @@
- commits:
- subject: Create `test/unit` and `test/integration` folders
hash: c1e6dadeb47c3c52958383a2fc775a821362f853
body: |
This sets up the new `test/unit` and `test/integration` folders
and starts classification of some of the test files.
Note that unit tests include, `fs-utils` and `system-info` tests.
While these tests interact with the filesystem, the implementation
of these modules is simple enough, and the tests are fast enough to
allow these tests to fall under the `unit` test category (according to
test/README)
footer:
Change-type: patch
change-type: patch
author: Felipe Lalanne
nested: []
- subject: Move the current test suite under `test/legacy`
hash: e1e35eb83b738040150ced1ee9500d780de4b632
body: |
We are refactoring the supervisor test suite into unit tests (for
algorithms an domain model tests) and integration
tests (for interaction with out-of-process dependencies).
This means the current test suite needs to be classified into
these two categories, and fixed whenever possible.
This commit moves the test suite under the `test/legacy` folder, this
folder should be progressively migrated and eventually removed.
Subsequent commits will begin to split these files into unit and
integration whenever possible.
footer:
Depends-on: "#1996"
depends-on: "#1996"
Change-type: patch
change-type: patch
author: Felipe Lalanne
nested: []
version: 14.0.15
title: "'Split test suite into unit and integration tests'"
date: 2022-08-24T20:09:59.828Z
- commits:
- subject: Simplify test commands in package.json
hash: 274503feb3f2f9cd5a8db551fd93b9cce8ae9b39

View File

@ -4,6 +4,12 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).
# v14.0.15
## (2022-08-24)
* Create `test/unit` and `test/integration` folders [Felipe Lalanne]
* Move the current test suite under `test/legacy` [Felipe Lalanne]
# v14.0.14
## (2022-08-22)

View File

@ -1 +1 @@
14.0.14
14.0.15

View File

@ -2,6 +2,6 @@ name: balena-supervisor
description: 'Balena Supervisor: balena''s agent on devices.'
joinable: false
type: sw.application
version: 14.0.14
version: 14.0.15
provides:
- slug: sw.compose.long-volume-syntax

2
package-lock.json generated
View File

@ -1,6 +1,6 @@
{
"name": "balena-supervisor",
"version": "14.0.14",
"version": "14.0.15",
"lockfileVersion": 1,
"requires": true,
"dependencies": {

View File

@ -1,7 +1,7 @@
{
"name": "balena-supervisor",
"description": "This is balena's Supervisor, a program that runs on IoT devices and has the task of running user Apps (which are Docker containers), and updating them as the balena API informs it to.",
"version": "14.0.14",
"version": "14.0.15",
"license": "Apache-2.0",
"repository": {
"type": "git",
@ -140,6 +140,6 @@
}
},
"versionist": {
"publishedAt": "2022-08-22T20:24:43.507Z"
"publishedAt": "2022-08-24T20:10:00.278Z"
}
}