পরবর্তী আপপরবর্তী গাইড
এআই দিয়ে আপনার নোট থেকে অনুশীলন পরীক্ষা করা
অ্যাপ্লিকেশন
অ্যাপ্লিকেশন গাইড
AI test-generation tools propose test cases or test code, but a test still needs a trustworthy oracle: a way to determine the correct outcome.
এই নির্দেশিকা শুনুনএআই-বর্ণিত · ~1 min
Test generation techniques have different goals. A test oracle supplies the expected result; characterization tests record current behavior and can preserve bugs if the behavior is wrong. The TestPilot paper evaluates an LLM-based JavaScript test generator across 25 npm packages and reports median statement coverage of 70.2% and branch coverage of 52.8%; these are study-specific figures. Coverage-guided fuzzing uses execution feedback such as newly reached branches to guide inputs. Mutation testing challenges a test suite with small deliberate program changes and checks whether assertions detect them. Review generated tests before treating their assertions as specifications.
Generate boundary cases for a function and review expected results.
Use characterization tests to capture behavior before a refactor, then inspect whether it is intended.
Run coverage-guided fuzzing to explore new execution paths.
Review generated tests for assertions that detect real regressions.
AI-generated tests can broaden candidate coverage, but human or formal review should validate expected behavior and avoid overfitting tests to an implementation.
ফ্রি নিউজলেটার
প্রতি সপ্তাহের কাজের দিন সকালে তিনটি যাচাইকৃত এআই স্টোরি, সহজ ইংরেজিতে লেখা। চিরকালের জন্য ফ্রি, কোনো বিজ্ঞাপন নেই।
প্রতি সপ্তাহের কাজের দিনে একটি ইমেল। এক ক্লিকেই আনসাবস্ক্রাইব করুন। আমরা কখনোই আপনার ঠিকানা বিক্রি বা শেয়ার করি না।
নিজেকে পরীক্ষা করুন
প্রতিটি উত্তরের তাৎক্ষণিক ফিডব্যাক, এবং কোর্স পাস করার পর যাচাইযোগ্য আইডি সহ একটি শেয়ারযোগ্য সার্টিফিকেট।
ফ্রি এআই শিক্ষাকে সমর্থন করুন। AI Understanding একটি 501(c)(3) অলাভজনক প্রতিষ্ঠান — কোনো বিজ্ঞাপন নেই, কোনো পেওয়াল নেই, কখনোই না। একটি দান করুন
AI test-generation tools propose test cases or test code, but a test still needs a trustworthy oracle: a way to determine the correct outcome.
এআই সহজেই ইনপুট তৈরি করতে পারে, তবে সঠিক প্রত্যাশিত ফলাফল (ওরাকল) নির্ধারণ করতে প্রায়শই উদ্দেশ্যমূলক আচরণ সম্পর্কে মানুষের বিচারের প্রয়োজন হয়।
ক্যারেক্টারাইজেশন পরীক্ষাগুলি ক্যাপচার করে যে কোড এখন কীভাবে আচরণ করে, অনাকাঙ্ক্ষিত পরিবর্তনগুলি সনাক্ত করার জন্য একটি সুরক্ষা জাল তৈরি করে, এমনকি বর্তমান আচরণে বাগ অন্তর্ভুক্ত থাকলেও৷
The TestPilot paper implements its approach for JavaScript and evaluates it on npm packages. This is the scope of that study, not a claim that LLM test generation only works in JavaScript.
LLM টুলগুলি কোডের প্রসঙ্গ, স্বাক্ষর এবং প্রদত্ত যেকোনো প্রম্পট বা মন্তব্যের উপর ভিত্তি করে টোকেন দ্বারা পরীক্ষার কোড টোকেন তৈরি করে।
The authors report median statement coverage of 70.2% and median branch coverage of 52.8% on their evaluation set of 25 npm packages. These are study-specific results, not a general guarantee.
শিখতে থাকুন
এই বিষয়ের জন্য বাছাই করা আরও গাইড
পরবর্তী আপপরবর্তী গাইড
এআই দিয়ে আপনার নোট থেকে অনুশীলন পরীক্ষা করা
অ্যাপ্লিকেশন