Testsweets는 코드를 작성하지 않고도 자동화된 테스트를 생성하고 실행할 수 있도록 설계된 노코드 테스트 자동화 도구입니다. 직관적인 인터페이스를 통해 비기술 사용자가 여러 플랫폼에서 테스트를 기록하고 편집하며 실행할 수 있게 하여, 비기술 사용자를 자동화 엔지니어로 전환합니다. 이 도구는 Flutter 앱과 원활하게 통합되며 Android, iOS, macOS, Windows 및 Linux를 지원합니다. Testsweets를 사용하면 팀은 테스트 주기를 가속화하고 테스트 커버리지를 향상시키며 수작업 테스트 프로세스에 대한 의존도를 줄일 수 있습니다.
사용 사례
모바일 및 데스크톱 앱을 위한 자동화된 UI 테스트
개발자가 아닌 사용자를 위한 빠른 테스트 생성
크로스 플랫폼 테스트 실행
코드 없이 회귀 테스트
테스트 스크립트에서 팀 협업
주요 기능
코드 없이 테스트 기록 및 재생
Android, iOS, macOS, Windows 및 Linux 지원
실시간 테스트 피드백 및 보고
Flutter 애플리케이션과의 통합
협업 테스트 관리
적합한 대상
프로그래밍 경험 없는 QA 테스터
더 빠른 테스트 주기를 원하는 개발 팀
저코드 테스트 솔루션을 필요로 하는 스타트업
크로스 플랫폼 앱 품질에 집중하는 팀
고려 사항
코드 기반 도구에 비해 사용자 지정 옵션이 제한적입니다
완전한 기능을 위해 클라우드 인프라스트럭처에 의존
고급 기능을 사용하려면 학습 곡선이 필요할 수 있습니다
백엔드 또는 단위 테스트보다는 사용자 인터페이스 수준의 테스트에 적합
원본 README
연결된 소스 저장소의 README 원문 스냅샷입니다. 최신 내용은 저장소에서 확인하세요.
TestSweets
This package is a utility and helper package to the TestSweets product. It is the package responsible for capturing your widget keys to the database which allows us to provide the auto complete functionality when you script your test cases.
Installation
To start using the package you have to add this package to your pubspec.yaml file.
dependencies:...testsweets: [latest_version]
Setup
After the packages have been added we have to setup the code. TestSweets makes use of Flutter Driver to drive the test cases that we write. This means we have to enable Flutter driver for the version of the app that we build that goes through automation. Flutter driver disables certain things like the on screen keyboard. To disable completely TestSweets is as easy as passing enabled: false to setupTestSweets function.
...
classMyAppextendsStatelessWidget{
@overrideWidgetbuild(BuildContext context) {
returnMaterialApp(
// 2. Inside MaterialApp add TestSweetsOverlayView to the builder// with the projectId you get when you created a new project in Testsweets app
builder: (context, child) => TestSweetsOverlayView(
projectId: '3OezzTovG9xxxxxxxxx',
child: child!,
),
// 3. Finally add TestSweetsNavigatorObserver() // to determine what view you are on right now
navigatorObservers: [
TestSweetsNavigatorObserver.instance,
],
);
Capturing Interactions
To run the app in capture mode you just start the application and capture mode will be enabled. You can swap between capture mode and drive mode tapping on the screen with 3 fingers.
How to add an Interaction
Note: The view you are on is automatically captured
Click the arrow to show the bottomsheet
Select one of the three interaction types (default to Touchable)
Drag the "T" icon onto the touchable widget e.g. a button
Enter a widget name
Tap the Save Widget button
Note: you can tap the arrow again to close the bottomsheet and move the widget freely and it will preserve the information
To ensure the app is built for TestSweets to be able to drive it you you should pass --dart-define=FORCE_CAPTURE_MODE=false when building or running the app for TestSweets.