Update app.py
Browse files
app.py
CHANGED
@@ -162,11 +162,10 @@ if uploaded_files:
|
|
162 |
# """)
|
163 |
|
164 |
prompt=f""" Your task is to generate unit test cases for this function : \n\n{snippet}\
|
165 |
-
\n\n Explain the function in few lines.
|
166 |
\n\n Generate between 3 to 8 unique unit test cases. Include couple of edge cases as well.
|
167 |
\n\n All the test cases should have the mandatory assert statement.
|
168 |
\n\n Every test case should be defined as a method inside the class.
|
169 |
-
\n\n All the test cases should have textual description
|
170 |
\n\n Politely refuse if the function is not suitable for generating test cases.
|
171 |
\n\n There should be no duplicate and incomplete test case.
|
172 |
\n\n Avoid generating repeated statements.
|
|
|
162 |
# """)
|
163 |
|
164 |
prompt=f""" Your task is to generate unit test cases for this function : \n\n{snippet}\
|
|
|
165 |
\n\n Generate between 3 to 8 unique unit test cases. Include couple of edge cases as well.
|
166 |
\n\n All the test cases should have the mandatory assert statement.
|
167 |
\n\n Every test case should be defined as a method inside the class.
|
168 |
+
\n\n All the test cases should have textual description.
|
169 |
\n\n Politely refuse if the function is not suitable for generating test cases.
|
170 |
\n\n There should be no duplicate and incomplete test case.
|
171 |
\n\n Avoid generating repeated statements.
|