on 2025 Feb 19 2:37 PM
I have the product code stored in the Class called ZUKI_ABC. Inside this class, there is a method called 'READ'. This READ method is responsible to read the Data from the SAP Table.
Now I created the Local Test Class for performing a Unit Testing. But I want to know How can I write my Testing Methods to verify the results. Another question is, what Input data and expected data should I consider to verify the product code and its expected results?
Request clarification before answering.
There are different approaches to address this issue. You can use DAO's to mock the database access. You can also use the SQL Testdouble framework.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
62 | |
8 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.