Description

Gitlab project VirtualizationQEMetrics does not have any unit tests at the moment. Only Pylint in pipeline does static code analysis.

Unit tests verify the functionality of code that you get what you expect back from the method when you call it. It ensures code always fulfills its functionality and makes user assured about this. User does not worry about broken or incompatible functionality with unit tests in place.

Writing unit tests can be boring because it involves tweaking slight different inputs fed into repeated code lines and generating outputs with subtle differences. Maybe AI can help do this ? I believe nowadays there are many IDEs with AI plugins out there to help write unit tests, but I am not sure whether they are free to use and not certain whether they boast about their AI plugins. Maybe I can resort to general-purpose AI tool ? Let ChatGPT help me write unit tests ?

Goals

  • Learn Python unit test framework and write some important tests.
  • Investigate whether available IDE can provide satisfactory AI plugin that can help write unit test efficiently.
  • Investigate whether using general-purpose GenAI is feasible for writing Python unit tests if this can not be achieved with IDE.

Resources

Looking for hackers with the skills:

Nothing? Add some keywords!

This project is part of:

Hack Week 24

Activity

  • 24 days ago: waynechen55 originated this project.

  • Comments

    • keichwa
      22 days ago by keichwa | Reply

      Typo in title: s/Porject/Project/ ;-)

      • waynechen55
        22 days ago by waynechen55 | Reply

        Corrected

    Similar Projects

    This project is one of its kind!