Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

UTBot-Python-SBFT-Competitions-2024

License

NotificationsYou must be signed in to change notification settings

UnitTestBot/UTBotPythonSBFT2024

Repository files navigation

Uses the python-tool-competition-2024 to generate tests using the UTBotPython.

For more information seehttps://github.com/ThunderKey/python-tool-competition-2024/.

Requirements

  • Python 3.11, implementation: CPython
  • OS: Linux
  • Java 17, accessible in command line under namejava
  • glibc>=2.31

Installation

  • Installpoetry
  • Runpoetry install

Check the installation

  • Runpoetry run check.
  • Successful logger messages should end with the following lines:
VenvConfig: VenvConfig(basePath=..., libPath=..., binPath=...)Exit status: 0 (Success)............ | INFO  | GlobalPythonEngine | Symbolic: stop receiver............ | INFO  | PythonTestCaseGenerator | Collect all test executions for some_method............ | INFO  | SbftGenerateTestsCommand | Saving tests...Process finished in ...Mean time: ...Max time: ...

If you get a messageNo VenvConfig, virtual environment in our interpreter was not activated for some reason.

If you get a messageExit status: ... (Failure),usvm-python could not be run for some reason.

Configuration

Configuration is set inpython_tool_competition_2024_utbot_python/config.py.

You can specify the time budget with the optionTIMEOUT. Now it is set to 380 seconds. The tool will probably spend all given time. Sometimes it can exceed this limit a little.

Development

The entry point called bypython-tool-competition-2024 is thebuild_testmethod inpython_tool_competition_2024_utbot_python/generator.py.

Calculating Metrics

Runpoetry run python-tool-competition-2024 run utbot-python.

Withpoetry run python-tool-competition-2024 run -h you can find out whatgenerators were detected.

About

UTBot-Python-SBFT-Competitions-2024

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors3

  •  
  •  
  •  

Languages


[8]ページ先頭

©2009-2025 Movatter.jp