Update app.py
Browse files
app.py
CHANGED
|
@@ -113,6 +113,7 @@ if uploaded_files:
|
|
| 113 |
|
| 114 |
prompt=f""" Your task is to generate unit test cases for this function : \n\n{snippet}\
|
| 115 |
\n\n Generate 5 to 10 unit test cases. Include couple of edge cases as well.
|
|
|
|
| 116 |
\n\n Politely refuse if the function is not suitable for generating test cases.
|
| 117 |
\n\n There should be no duplicate test cases.
|
| 118 |
\n\n Avoid generating repeated statements.
|
|
|
|
| 113 |
|
| 114 |
prompt=f""" Your task is to generate unit test cases for this function : \n\n{snippet}\
|
| 115 |
\n\n Generate 5 to 10 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 Politely refuse if the function is not suitable for generating test cases.
|
| 118 |
\n\n There should be no duplicate test cases.
|
| 119 |
\n\n Avoid generating repeated statements.
|