Unit Testing
👋 Welcome to this video on running unit tests in your CI/CD workflow on Bitrise.
Unit testing is a testing methodology where developers write code to test the behavior of a function or class. It's the lowest level of testing, focusing on a small, well-defined scope. Unit tests are useful for catching bugs and preventing crashes early on in the development process.
Bitrise offers different steps for running unit tests, depending on the platform:
Xcode Test for iOS: Runs unit tests included in your iOS project.
Android Unit Test: Runs unit tests for your Android project.
Flutter Test: Runs the Flutter test command with specified flags.
📚 Resources:
Running Xcode tests: https://devcenter.bitrise.io/en/testing/testing-ios-apps/running-xcode-tests.html
Android unit tests: https://devcenter.bitrise.io/en/testing/testing-android-apps/android-unit-tests.html
Running unit and UI tests on Flutter apps: https://devcenter.bitrise.io/en/testing/testing-flutter-apps/running-unit-and-ui-tests-on-flutter-apps.html
Running unit and UI tests for React Native apps: https://devcenter.bitrise.io/en/testing/testing-react-native-apps/running-unit-and-ui-tests-for-react-native-apps.html
Build better mobile applications, faster! Save time, money, and developer frustration with fast, flexible, and scalable mobile CI/CD that just works. Get started on Bitrise for free ✨ https://bitrise.io
Follow Bitrise on social media! ✨
Twitter → https://twitter.com/bitrise
Linkedin → https://www.linkedin.com/company/bitrise
Facebook → https://www.facebook.com/bitrise.io/
Join our community on Slack → https://chat.bitrise.io/
#mobiledevelopment #appdevelopment #bitrise