October 13, 2024
Solved
Need help for writing unit test case for exceltojson servlet
- October 13, 2024
- 2 replies
- 522 views
Creating an Asset: I want to create an asset using AemContext without using InjectMocks. Could anyone provide a sample code snippet or guidelines on how to achieve this?
Handling Excel Files in Tests: I need to place an Excel file in the test resources of my IntelliJ project and load it in my test cases. What’s the best way to do this? Any recommendations on file placement and loading mechanisms would be appreciated.
Example excel file is attached below


