#Hi! I inherited a java-gradle repository and there is no CICD pipeline and no unit tests.

1 messages · Page 1 of 1 (latest)

vast kelp
#

I inherited a java-gradle repository and there is no CICD pipeline and no unit tests. I was wondering how I can set up a test script to show that the tests are passing? Any help is greatly appreciated. Thanks!

dusk roseBOT
#

<@&1004656351647117403> please have a look, thanks.

dusk roseBOT
#

While you are waiting for getting help, here are some tips to improve your experience:

Code is much easier to read if posted with syntax highlighting and proper formatting.

If nobody is calling back, that usually means that your question was not well asked and hence nobody feels confident enough answering. Try to use your time to elaborate, provide details, context, more code, examples and maybe some screenshots. With enough info, someone knows the answer for sure.

Don't forget to close your thread using the command </help-thread close:1027500463647621170> when your question has been answered, thanks.

dusk roseBOT
#

Closed the thread due to inactivity.

If your question was not resolved yet, feel free to just post a message to reopen it, or create a new thread. But try to improve the quality of your question to make it easier to help you 👍

queen atlas
#

Are there any kinds of tests? Otherwise you'd need to write those first before you can show that they're passing 😅

visual gazelle
#

FYI, tests must be placed under /src/test/java

#

I think that build tools such as gradle or maven

#

takes are able to detect tests while building the project

vast kelp
#

Hi, thanks for replying!

vast kelp
#

can I get some help with writing the unit tests? this is the first time writing a unit test for java

nova crypt
#

ChatGPT is especially good at writing unit tests for you, especially chatgpt4

#

Not really an answer but it saves me time sometimes 🦆

visual gazelle
#

Yes chatgpt can be useful but not accurate. Also remember that its data cutoff on september 2021

nova crypt
#

Anything more complicated than that and it's ofc still a good tool, but definitely imperfect (like all tools)

#

But that's just me shilling for chatgpt4 again
OP if you need help for a specific unit tests ask here, but you're not gonna find anyone here who wants to write unit tests for a random project...

vast kelp
#

Is ChatGPT4 free?

tranquil latch