remi icon indicating copy to clipboard operation
remi copied to clipboard

Unit Tests (and testing in general) proposal

Open awesomebytes opened this issue 6 years ago • 3 comments

Hello,

As @dddomodossola knows, I'm very fond of this library and the work all the amazing contributors have set together in remi. I think it would be beneficial to have a set of Unit Tests and even more high level tests by using Selenium or a similar technology.

I found this issue with no more activity https://github.com/dddomodossola/remi/issues/156 And also this PR sets us in a good direction to have a platform where to run the tests: https://github.com/dddomodossola/remi/pull/301

I currently have a lab member that is interested in gaining more experience on automated testing and contributing to open source projects: @Bethany-1 I can guide her on how to get started but I'd need collaboration from your side to make this effort as meaningful as possible. Also @jjclark1982 from my laboratory will be able to assist on the guidance too.

Let me know how that sounds to you. Thanks, have a good one!

awesomebytes avatar Jul 30 '19 03:07 awesomebytes

Hello @awesomebytes, I dislike UnitTesting (and I have no experience about it) but of course I'm sure it is really important part of software development. I will be pleased to collaborate with you and your co-workers on UnitTesting implementation in remi. Few points important for me:

  • it must not require external dependencies, only python standard libraries;
  • it must not be integrated with the library itself, it have to be separate source files that calls and test remi methods. What about this? We can create a separate branch that will be merged once ready

dddomodossola avatar Jul 31 '19 11:07 dddomodossola

Hello @dddomodossola, Python standard library has their own test module (unittest) and we'll be able to use that for our testing. The unit testing files will be in a folder called 'test'. A separate branch dedicated for testing will be great.

I'm pleased to be collaborating with you.

Bethany-1 avatar Aug 01 '19 04:08 Bethany-1

@Bethany-1 wonderful! I'm pleased too. I will look at the unittest module to get a basic knowledge about this topic

dddomodossola avatar Aug 01 '19 05:08 dddomodossola