apidash icon indicating copy to clipboard operation
apidash copied to clipboard

Add integration tests

Open ashitaprasad opened this issue 1 year ago • 6 comments

Tell us about the task you want to perform and are unable to do so because the feature is not available Add few end-to-end integration tests to automate some user testing workflows.

ashitaprasad avatar Feb 22 '24 00:02 ashitaprasad

Hi i would like to work on this issue. It will take a little time to integrate the test files and include related dependencies. Sometimes the debug message of the API calling can be misleading. Currently, are we using manual testing for the app? And do the existing tests cover all aspects. Please let me know if theres something else to be included so i can start on automating user testing. Thank you.

Drakennnnn avatar Mar 04 '24 08:03 Drakennnnn

@Drakennnnn The issue is not about integrating the test files. We already have automated testing in place. Integration testing is a totally different concept. You can read more about it here.

animator avatar Mar 04 '24 15:03 animator

@animator I have gone through the article you have shared. As API DASH is a desktop application, we cannot use firebase test tool and have to write code covering every aspect of the app. Its an easy task but lot of code to type. I will be done with it within a week. I am having a little trouble with the code want to know if theres a easier way to implement the code for testing the codegens or should I leave it from the code as of now and it can be tested manually in the meanwhile. Thank You. Screenshot 2024-03-05 235857

Drakennnnn avatar Mar 05 '24 18:03 Drakennnnn

@Drakennnnn I will suggest you to start writing some widget tests for some screens and once you are well versed you can move onto integration testing.

ashitaprasad avatar Mar 06 '24 02:03 ashitaprasad

@animator @ashitaprasad I am done with writing around 60-70% of the tests. These tests are UX based and covers the app as whole. Unfortunately I will have to pause until the 22nd as my exams will be starting. Hope that's okay. I can share what I have done until now if required. Thank you.

Drakennnnn avatar Mar 16 '24 04:03 Drakennnnn

@Drakennnnn you can send across a PR so that we can review the existing work.

animator avatar Mar 16 '24 07:03 animator

Integration tests have been added by @DenserMeerkat

ashitaprasad avatar Sep 15 '24 15:09 ashitaprasad