New testing framework #903
Replies: 8 comments 24 replies
-
I'm interested in contributing to help address these problems. I have experience with Python and I'm excited to use my skills to improve the testing framework of the project. I understand that the current testing framework uses nose, which is no longer maintained. I agree that it would be a good idea to evaluate alternative testing frameworks like nose2 or py.test, and I'd be happy to help with this evaluation process. Additionally, I'd like to contribute to improving the current test infrastructure, such as restructuring tests that are problematic for the new framework and adjusting existing tests where necessary. Please let me know if there are any specific tasks related to the testing infrastructure that I can work on. I'm excited to be part of the project and contribute to its success. Also, could you provide me with more details about the project and how I can contact you or the team to get started? Thank you for considering my interest in contributing. |
Beta Was this translation helpful? Give feedback.
-
There might also be other potential options besides |
Beta Was this translation helpful? Give feedback.
-
I'd also probably consider a testing framework that enables fuzziness and order independent testing - hypothesis comes to mind. I'm sure PyTest ships with a few plug-ins for this too. Shud probably also think in that direction. :) Also, remember to have a look at Tox, I remember it being bought up earlier, is probably relevant here. |
Beta Was this translation helpful? Give feedback.
-
Quick question: Usually, other GSoC have a size which could be 175 hours or 350 hours. Occasionally, they specify two different goals, one for the 175 hours and the other for 350 hours, which is an extension of the first goal (175 hours). I wonder what size are you applying to this project. |
Beta Was this translation helpful? Give feedback.
-
I have made my first proposal draft and have enabled the comments feature! I would appreciate all the help and guidance. Thank you! (Weeks 11 and 12 are currently empty in my timeline, and I would appreciate it if you could help me fill this gap.) |
Beta Was this translation helpful? Give feedback.
-
Minor update: I installed the latest Ubuntu 22.04.2 LTS which came with Python 3.10. I followed all the steps to install BenchExec and its dependencies, and I was able to install everything except LXCFS, libseccomp and nose. Also, I wasn't able to configure Cgroups and faced many problems. After installing the basic stuff, I tried running nose, but it wasn't building properly in Python's 3.10 version, so I went to nose's github repo to find out that they solved this issue by recommending nose2 instead of fixing the problem. So I got tired with everything and decided to install Ubuntu 20.04 in my system, which has Python 3.8 built-in, which worked completely fine with all the dependencies and nose, and I was able to configure Cgroups to work properly! But I'm still facing issues while building LXCFS and libseccomp. I'll devote another day to them, but if I face any other problems, I'll ask for your help! |
Beta Was this translation helpful? Give feedback.
-
Hello everyone! I have finalized and submitted my GSoC proposal and you can find it here. Thank you everyone for your guidance and help! |
Beta Was this translation helpful? Give feedback.
-
This is implemented by #1043. |
Beta Was this translation helpful? Give feedback.
-
Currently, BenchExec's tests are executed using
nose
, which has been inactive for a long time and has a new successor callednose2
.I have compared
py.test
andnose2
and have found some major differences which make me preferpy.test
overnose2
. For context read this reddit threadI have written and implemented tests using
py.test
for an academic open source project and it was easy to learn and understand. Most of the open source scientific computational tools like pvlib and vector I have contributed for before usespy.test
as they can be easy to understand and can have amazing features!Also we can use codecov which can help us find untested code and make it easy to find issues!
Would love to get your views on this!
Beta Was this translation helpful? Give feedback.
All reactions