Activity
Mon
Wed
Fri
Sun
Jan
Feb
Mar
Apr
May
Jun
Jul
Aug
Sep
Oct
Nov
Dec
What is this?
Less
More

Memberships

Amigoscode

1k members • Free

2 contributions to Amigoscode
JUnit : Files containing a string object in input and in output
Hello everybody 🤠 I want to test a program which receives a file containing a string object specified by the user and which produces a file containing another string object. Let's assume the business logic of the program is delimited in one single method. I have a question when it comes to creating unit tests for this use-case : how can i code a test which input is a file containing a string object i want to specify and which output is a new file containing another string object representing the result of this treatment ? Are there alternatives for this use-case for JUnit within a springboot application and for JUnit within a simple java core application ? Thank you for your help ! 😁
Welcome and Introduce yourself here 🔥
👋 Hi! Welcome to the Community Step 1: Introduce yourself in this thread below! (✄ Copy/paste template 👇) Where are you from? Tell us something about you? What do you hope to achieve here? Which platform brought you here? IMPORTANT Step 2: Engage with others. Like at least 5 introductions to unlock most of the content and start building connections. Step 3: Read the pinned posts as they include important guidelines and resources to help you get the most out of this community. 🚨 Please do not promote paid services (mentorship, courses, other communities, etc). Doing so will result in a ban. We’re glad to have you here and looking forward to your introduction! Don't forget to completed this poll
Poll
253 members have voted
Welcome and Introduce yourself here 🔥
@Moctar Sandalo Welcome to the community 😁
@Ensieh Rahbar Welcome 😁!!
1-2 of 2
Jean-Christophe Chevallier
2
2points to level up
@jean-christophe-chevallier-5854
I'm a software engineer who wants to build an expertise in software craftmanship, angular, react and the java platform

Active 1d ago
Joined Oct 11, 2025
Powered by