fmtm icon indicating copy to clipboard operation
fmtm copied to clipboard

List automated test case scenarios for project creation workflow

Open susmina94 opened this issue 11 months ago • 3 comments

Is your feature request related to a problem? Please describe. The purpose of a test case is to determine if different features within a system are performing as expected and to confirm that the system satisfies all related standards, guidelines and customer requirements. The process of writing a test case can also help reveal errors or defects within the system.

Currently, we are trying to incorporate a lot more open source contributors in the project to write down the test cases. However, we do not have sufficient documentation or way ahead for them to contribute in test cases.

Describe the solution you'd like @manjitapandey will be writing down the list of test case scenario for the project creation workflow that will help the developers understand the test case scenario, relevant conditions they need to pass and the expected results out of the test cases. You may find the test case scenario listed in this sheet here: https://docs.google.com/spreadsheets/d/1z4ctAquRcpXRam5Sb0cnqXT6asAzkwe42MPhV8szH6U/edit#gid=0

What do each column in the sheet refer to?

A comprehensive demo of what is in the sheet is outlines with a an example.

Step 1: There is a test case scenario in the Test Case Scenario column: Eg: Uploading project boundary during project creation

Step 2: You can manually replicate the condition as viewed in Test Steps column: Eg:

  1. create project button
  2. add necessary infomation on step 1
  3. click on upload
  4. browse through your files to upload .geojson file

Step 3: The condition you need to pass for the test is viewed in Pre-condition column: Eg: User should be able to upload the file with .geojson format only. Please check if the file loads well with geojson.io before uploading the geojson.

Step 4: The expected result after you pass for the test is in Expected Result column: Eg: The input should throw error "File format is not supported" if the user uploads any other file except .geojson format.

Step 5: You may write down the actual results after you run the test cases you prepare that is an exception to that of expected result

Step 6: The status column defines if the test case is passed or failed

susmina94 avatar Mar 15 '24 11:03 susmina94