✅ README.md
This repository contains C# xUnit test cases created as part of daily practice/learning. It includes examples of unit testing concepts using xUnit framework in .NET.
- Language: C#
- Framework: .NET
- Unit Testing Framework: xUnit
- IDE Recommended: Visual Studio / VS Code
Day1UnitTest.xunit/ │
├── RoundTheCode.xunit/ # Main xUnit test project
├── RoundTheCode.xUnit.methods/ # Additional methods/helper project (if applicable)
├── README.md # Documentation
├── .gitignore
└── .gitattributes
Make sure you have installed:
- .NET SDK 6/7/8 (any supported version)
- Visual Studio / VS Code (optional but recommended)
Check installation:
dotnet --version
▶️ How to Run the Tests
1️⃣ Clone the repository
git clone https://github.com/<your-username>/Day1UnitTest.xunit.git
cd Day1UnitTest.xunit
2️⃣ Restore dependencies
dotnet restore
3️⃣ Run tests
dotnet test
🧪 What’s Included
Sample unit test cases written in xUnit
Basic assertions like:
Assert.Equal()
Assert.True()
Assert.NotNull()
Naming convention practice
Clean structure for learning & scaling
📌 Notes
This repo is created for learning/testing practice.
Future updates may include:
Parameterized tests ([Theory])
Test Data (InlineData, MemberData)
Setup/Teardown
Mocking (Moq)
CI using GitHub Actions
🤝 Contributing
Contributions are welcome!
If you'd like to improve or add new tests:
Fork the repository
Create a new branch
Push changes
Submit a Pull RequestKaustubh W GitHub: kaustubh-sdet ↗