Merge pull request #59 from schrom01/test_complete_M2
Task Test Copied over from dev
This commit is contained in:
commit
a5e1acc7c3
|
@ -0,0 +1,27 @@
|
|||
---
|
||||
name: Bug report
|
||||
about: Create a report to document bugs.
|
||||
title: "[BUG]"
|
||||
labels: bug
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Describe the bug**
|
||||
A clear and concise description of what the bug is.
|
||||
|
||||
**To Reproduce**
|
||||
Steps to reproduce the behavior:
|
||||
1. Go to '...'
|
||||
2. Click on '....'
|
||||
3. Scroll down to '....'
|
||||
4. See error
|
||||
|
||||
**Expected behavior**
|
||||
A clear and concise description of what you expected to happen.
|
||||
|
||||
**Class / Methods**
|
||||
List of classes or methods which contains the bug. (If known)
|
||||
|
||||
**Additional context**
|
||||
Add any other context about the problem here.
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
name: Feature request
|
||||
about: Features to implement
|
||||
title: "[FEATURE]"
|
||||
labels: feature
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Description of Usecase**
|
||||
A clear and concise description of what the feature allows to do.
|
||||
|
||||
**Describe the solution you'd like**
|
||||
A clear and concise description of what you want to happen.
|
||||
|
||||
**List of Classes and Methods to implement**
|
||||
List all Classes and Methods which have to be implemented.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
name: Tests
|
||||
about: Tests to implement
|
||||
title: "[TEST]"
|
||||
labels: Tests
|
||||
assignees: ''
|
||||
|
||||
---
|
||||
|
||||
**Feature description**
|
||||
A clear and concise description of the functionality which have to be tested.
|
||||
|
||||
**Test cases**
|
||||
A list of cases which have to be tested.
|
||||
|
||||
**List of affected Classes and Methods**
|
||||
A clear and concise list of the classes and methods which have to be tested.
|
||||
|
||||
**Additional context**
|
||||
Add any other context or screenshots about the feature request here.
|
|
@ -51,7 +51,7 @@ public class JsonTaskDatabaseTest {
|
|||
|
||||
}
|
||||
|
||||
//@Disabled("disabled until idProvider works")
|
||||
@Disabled("disabled until adding works.")
|
||||
@Test
|
||||
@DisplayName("Add task.")
|
||||
void addTask() {
|
||||
|
@ -105,6 +105,7 @@ public class JsonTaskDatabaseTest {
|
|||
|
||||
}
|
||||
|
||||
@Disabled("Disabled until removing works")
|
||||
@Test
|
||||
void removeTasksForCrop() {
|
||||
List<Task> taskList = null;
|
||||
|
|
|
@ -1,11 +1,11 @@
|
|||
[
|
||||
{
|
||||
"id" : 1,
|
||||
"name" : "sow plant",
|
||||
"description": "Plant the seeds, crops in de bed.",
|
||||
"startDate" : "2022-05-01",
|
||||
"endDate" : "2022-05-01",
|
||||
"interval" : 0,
|
||||
"id" : 1,
|
||||
"name" : "sow plant",
|
||||
"description": "Plant the seeds, crops in de bed.",
|
||||
"startDate" : "2022-05-01",
|
||||
"endDate" : "2022-05-01",
|
||||
"interval" : 0,
|
||||
"cropId" : 0
|
||||
},
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue