Update app.py
Browse files
app.py
CHANGED
@@ -112,7 +112,7 @@ if uploaded_files:
|
|
112 |
# """)
|
113 |
|
114 |
prompt=f""" Your task is to generate unit test cases for this function : \n\n{snippet}\
|
115 |
-
\n\n Generate 3 to
|
116 |
\n\n All the test cases should have the mandatory assert statement.
|
117 |
\n\n Do not generate incomplete test case without the assert statement.
|
118 |
\n\n Politely refuse if the function is not suitable for generating test cases.
|
|
|
112 |
# """)
|
113 |
|
114 |
prompt=f""" Your task is to generate unit test cases for this function : \n\n{snippet}\
|
115 |
+
\n\n Generate between 3 to 8 unit test cases. Include couple of edge cases as well.
|
116 |
\n\n All the test cases should have the mandatory assert statement.
|
117 |
\n\n Do not generate incomplete test case without the assert statement.
|
118 |
\n\n Politely refuse if the function is not suitable for generating test cases.
|