सार्वजनिक जानकारी से बना चयन मार्गदर्शन। केवल संदर्भ हेतु।
Testsweets एक कोड नहीं लिखने वाला परीक्षण स्वचालन टूल है, जिसका उद्देश्य परीक्षण कर्मचारियों को कोड लिखे बिना स्वचालित परीक्षण बनाने और चलाने में सक्षम बनाना है। यह अनुकूल इंटरफ़ेस के माध्यम से गैर-तकनीकी उपयोगकर्ताओं को बहु-प्लेटफ़ॉर्म पर परीक्षण रिकॉर्ड, संपादित और निष्पादित करने की अनुमति देकर उन्हें स्वचालन इंजीनियर में बदल देता है। टूल फ्लटर ऐप्स के साथ बिना किसी दिक्कत के एकीकृत होता है और एंड्रॉइड, आईओएस, मैकओएस, विंडोज और लिनक्स का समर्थन करता है। 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.