Bassa icon indicating copy to clipboard operation
Bassa copied to clipboard

Add more Unit tests for frontend and backend

Open carpecodeum opened this issue 5 years ago • 6 comments

Is your feature request related to a problem? Please describe. As some of the unit tests of the frontend and backend are incomplete. More unit tests need to be added

Describe the solution you'd like Make unit tests using enzyme from frontend and PyUnit framework for backend

Additional context currently working on it..

carpecodeum avatar Dec 31 '19 06:12 carpecodeum

If any help is required, I would love to work on writing tests for backend.

2knal avatar Jan 21 '20 18:01 2knal

Hey @2knal I'm in the middle of working on this issue and if I am not able to solve this one or need any help i will let you know for sure!

carpecodeum avatar Jan 21 '20 19:01 carpecodeum

@JaDogg I was thinking of adding test coverage for running the tests. Shall I go ahead with it?

carpecodeum avatar Feb 04 '20 13:02 carpecodeum

Do it.

JaDogg avatar Feb 04 '20 13:02 JaDogg

@JaDogg sure!

carpecodeum avatar Feb 04 '20 13:02 carpecodeum

@JaDogg I propose a few changes but that will require the restructuring of the existing pattern for writing tests. I request you give your views on these! And your inputs and advices too.

  1. Use a test client instead of using the development config.
  2. make a sample data file for tests.
  3. Separating the development and testing config.

carpecodeum avatar Feb 11 '20 19:02 carpecodeum