Unit test
تاقیکردنەوەی یەکە
Proposed Kurdish term — under reviewزاراوەی پێشنیارکراو — لە ژێر پێداچوونەوەدایە Definitionپێناسە
A small automatic test that checks one piece of code, such as one function or one class, on its own. Code split by is easy to unit-test.
تاقیکردنەوەیەکی خۆکاری بچووکە کە یەک پارچە کۆد بە تەنها دەپشکنێت، وەک یان . کۆدێک کە بە دابەش کرابێت بە ئاسانی تاقیکردنەوەی یەکەی بۆ دەکرێت.
Exampleنموونە
A unit test for a Counter class.
بۆ کلاسی Counter.
test('increment adds one', () {
final c = Counter();
c.increment();
expect(c.value, 1);
});Other Kurdish renderings in useوەرگێڕانە کوردییەکانی تر
تاقیکردنەوەی یەکەکە، تاقیکردنەوەکانی یەکە، تاقیکردنەوەیەکی یەکە، تاقیکردنەوەی یەکەی
Note on the Kurdish termتێبینی دەربارەی زاراوە کوردییەکە
Proposed: built on the registry's software-testing «تاقیکردنەوەی نەرمەواڵە»; یەکە = unit.
Related termsزاراوە پەیوەندیدارەکان
Videosڤیدیۆکان
A first Flutter unit test for a Counter class: set up, act, then check the result with expect, plus a failing test and group.
یەکەم لە بۆ Counter: ئامادەکردن ← جێبەجێکردن ← پشکنینی ئەنجام بە expect؛ لەگەڵ کە شکست دەهێنێت و group.
Learn more inزیاتر فێربە لە
- App Architecture: the MVVM Patternتەلارسازیی نەرمەواڵە: شێوازی MVVM
- Setting Up Flutter and Your First Projectئامادەکردنی Flutter و یەکەم پڕۆژەکەت
- Organising an MVVM Project: Folders, Services and get_itڕێکخستنی پڕۆژەیەکی MVVM: فۆڵدەرەکان، خزمەتگوزارییەکان و get_it
- What Is Programming?بەرنامەسازی چییە؟
- MVVM in Flutter with ProviderMVVM لە Flutterـدا بە Provider
- Algorithms, Pseudocode and Flowchartsئەلگۆریزمەکان، نیمچەکۆد و هێڵکارییەکانی ڕەوت