Software⏱️ 2 min read📅 2026-05-30

How to Fix: No tests found for given includes Error, when running Parameterized Unit test in Android Studio

Learn how to fix: No tests found for given includes Error, when running Parameterized Unit test in Android Studio.

Quick Answer: Try checking your system settings or restarting.

To resolve the 'No tests found for given includes' error when running Parameterized Unit Tests in Android Studio, you need to define a valid test data source. This typically involves creating an array or list of input parameters that will be used by your test method.

✅ Best Solutions to Fix It

Method 1: Define a Valid Test Data Source

  1. Step 1: Create an array or list of input parameters that will be used by your test method.

Method 2: Use the @Parameters annotation

  1. Step 1: Add the @Parameters annotation above your test method to specify the input parameters.

💡 Conclusion

By following these steps, you should be able to resolve the 'No tests found for given includes' error and successfully run your Parameterized Unit Tests in Android Studio.

Did this fix your problem?

If not, try searching for specific error codes.

🔍 Search Error Database

❓ Frequently Asked Questions