27 মার্চ, 2025 থেকে, আমরা AOSP তৈরি করতে এবং অবদান রাখতে aosp-main
এর পরিবর্তে android-latest-release
ব্যবহার করার পরামর্শ দিচ্ছি। আরও তথ্যের জন্য, AOSP-তে পরিবর্তনগুলি দেখুন।
TF দিয়ে শুরু করুন
সেভ করা পৃষ্ঠা গুছিয়ে রাখতে 'সংগ্রহ' ব্যবহার করুন
আপনার পছন্দ অনুযায়ী কন্টেন্ট সেভ করুন ও সঠিক বিভাগে রাখুন।
ট্রেড ফেডারেশন হল একটি বৃহৎ পরিক্ষার পরিকাঠামো যা বিভিন্ন ইউজকেসগুলির একটি বিশাল বৈচিত্র্যের সাথে মানিয়ে নেওয়া যেতে পারে এবং বেশিরভাগ লোকের সম্ভবত এর কার্যকারিতার কিছু উপসেটের প্রয়োজন হবে। প্রথমত, আমরা কল্পনা করি যে TF ব্যবহারকারীরা তিনটি প্রাথমিক ভূমিকার যেকোনো একটি পূরণ করবে: ডেভেলপার, ইন্টিগ্রেটর এবং টেস্ট রানার। একজন নির্দিষ্ট ব্যক্তি এই তিনটি টুপির যেকোনও (বা সমস্ত) পরতে পারেন, কিন্তু আমরা মনে করি পার্থক্যটি ডকুমেন্টেশন নেভিগেট করা সহজ করতে সাহায্য করবে।
বিকাশকারীরা
বিকাশকারীরা তাদের বেশিরভাগ সময় জাভাতে লেখা TF মডিউল তৈরি করে ব্যয় করে। তারা কনফিগারেশন লিখতে এবং পরীক্ষা চালাতে পারে, কিন্তু সাধারণত শুধুমাত্র তাদের মডিউলগুলি সঠিকভাবে আহ্বান করা হচ্ছে এবং প্রত্যাশিতভাবে কাজ করছে তা যাচাই করার জন্য এটি করবে।
ইন্টিগ্রেটর
ইন্টিগ্রেটররা তাদের বেশিরভাগ সময় XML টেস্ট কনফিগারেশন বা কমান্ড ফাইল (যা একটি সাধারণ শেলের মতো ভাষায় লেখা) তৈরি করে ব্যয় করে। তারা ডেভেলপার দ্বারা লিখিত TF মডিউলগুলিকে নির্দিষ্ট কনফিগারেশনের সাথে সংযুক্ত করে যা নির্দিষ্ট পরীক্ষার প্রয়োজনীয়তা এবং লক্ষ্যগুলির জন্য প্রয়োজনীয়।
টেস্ট রানার্স
টেস্ট রানাররা তাদের বেশিরভাগ সময় পরীক্ষা চালানোর জন্য ব্যয় করে এবং সাধারণত নিশ্চিত করে যে পরীক্ষার ফলাফল তৈরি করা হচ্ছে এবং উত্পন্ন পরীক্ষার ফলাফলগুলি প্রাসঙ্গিক, পুনরুত্পাদনযোগ্য এবং সঠিক। তারা ট্রেডফেডের কমান্ড লাইন ইন্টারফেসের সাথে আলাপচারিতার জন্য তাদের বেশিরভাগ সময় ব্যয় করে এবং ফলাফলগুলি অর্থপূর্ণ কিনা তাও যাচাই করবে।
ট্রেড ফেডারেশন থেকে সর্বাধিক সুবিধা পেতে, তিনটি ভূমিকাই প্রতিনিধিত্ব করতে হবে। বিল্ড সিস্টেম এবং পরীক্ষার ফলাফল সংগ্রহস্থলের মতো অবকাঠামোর অন্যান্য অংশগুলির সাথে TF আন্তঃঅপারেটিং করতে বিকাশকারী এবং ইন্টিগ্রেটরদের লাগবে। প্রকৃতপক্ষে পছন্দসই পরীক্ষা চালানোর জন্য এবং পছন্দসই পরীক্ষার ফলাফল তৈরি করতে TF পেতে ইন্টিগ্রেটর এবং টেস্ট রানারদের লাগবে। কোন অর্থহীন ফলাফল শনাক্ত করতে টেস্ট রানারদের লাগবে, এবং বাগগুলি কোথায় থাকতে পারে তা খুঁজে বের করতে এবং সেগুলি ঠিক করতে বিকাশকারী এবং ইন্টিগ্রেটরদের সাথে কাজ করতে হবে৷
এরপর কি
তিনটি ভূমিকায় থাকা লোকেদের অন্ততপক্ষে বাকি সমস্ত নথিতে নজর দেওয়া উচিত৷ মেশিন সেটআপ আপনাকে সেই পয়েন্টে নিয়ে যাবে যেখানে আপনি TF চালাতে পারেন (এটি তৈরি করে বা ডাউনলোড করে)। ডিভাইসগুলির সাথে কাজ করা ব্যাখ্যা করবে কিভাবে একটি ফিজিক্যাল ডিভাইস, এমুলেটর বা কোন ডিভাইস ছাড়াই পরীক্ষা চালানো যায়। টেস্ট লাইফসাইকেল পৃষ্ঠাটি একটি তাত্ত্বিক দৃষ্টিকোণ থেকে ব্যাখ্যা করবে যে কীভাবে বিকাশকারী, ইন্টিগ্রেটর এবং টেস্ট রানারের ভূমিকাগুলি ইন্টারঅ্যাক্ট করে এবং তারপরে অপশন হ্যান্ডলিং প্রদর্শন করবে কীভাবে সেই তত্ত্বটিকে বাস্তবে প্রয়োগ করা যায়।
অবশেষে, এন্ড-টু-এন্ড উদাহরণ আপনাকে একটি নমুনা পরীক্ষার বিকাশ, একীকরণ এবং স্থাপনার মাধ্যমে নিয়ে যায়। এটি প্রতিটি ভূমিকার দিকগুলিকে জড়িত করে এবং ডকুমেন্টেশনে সরাসরি আলোচনা করা হয় না এমন আরও জটিল জিনিসগুলি কীভাবে করা যায় তার ইঙ্গিত দেওয়া উচিত।
আপনি যদি এখানে সবকিছু পেয়ে থাকেন এবং এখনও উত্তর না পাওয়া প্রশ্ন থাকে, তাহলে প্রথমে ট্রেড ফেডারেশন সোর্স কোডটি দেখার চেষ্টা করুন। এর বাইরে, android-প্ল্যাটফর্ম Google Group-এ জিজ্ঞাসা করার চেষ্টা করুন। সেরা ফলাফলের জন্য, বার্তার বিষয়বস্তুতে "ট্রেড ফেডারেশন" (বা "ট্রেডফেড" বা "TF") উল্লেখ করতে ভুলবেন না।
এই পৃষ্ঠার কন্টেন্ট ও কোডের নমুনাগুলি Content License-এ বর্ণিত লাইসেন্সের অধীনস্থ। Java এবং OpenJDK হল Oracle এবং/অথবা তার অ্যাফিলিয়েট সংস্থার রেজিস্টার্ড ট্রেডমার্ক।
2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।
[[["সহজে বোঝা যায়","easyToUnderstand","thumb-up"],["আমার সমস্যার সমাধান হয়েছে","solvedMyProblem","thumb-up"],["অন্যান্য","otherUp","thumb-up"]],[["এতে আমার প্রয়োজনীয় তথ্য নেই","missingTheInformationINeed","thumb-down"],["খুব জটিল / অনেক ধাপ","tooComplicatedTooManySteps","thumb-down"],["পুরনো","outOfDate","thumb-down"],["অনুবাদ সংক্রান্ত সমস্যা","translationIssue","thumb-down"],["নমুনা / কোড সংক্রান্ত সমস্যা","samplesCodeIssue","thumb-down"],["অন্যান্য","otherDown","thumb-down"]],["2025-07-29 UTC-তে শেষবার আপডেট করা হয়েছে।"],[],[],null,["# Get started with TF\n\nTrade Federation is a large test infrastructure that can be adapted to a great variety of\ndifferent usecases, and most people will probably only need some subset of its functionality. First\noff, we envision that TF users will fulfill any of three primary roles: Developer, Integrator, and\nTest Runner. A particular individual might wear any (or all) of those three hats, but we feel the\ndistinction will help make it easier to navigate the documentation.\n\nDevelopers\n----------\n\nDevelopers spend the majority of their time creating TF modules that are written in Java.\nThey may write configurations and execute tests, but will typically only do so to verify that their\nmodules are being invoked properly and are functioning as expected.\n\nIntegrators\n-----------\n\nIntegrators spend the majority of their time creating XML test configurations, or command\nfiles (which are written in a simple shell-like language). They tie together TF modules written\nby the Developer with specific configurations that are required for particular test requirements and\ngoals.\n\nTest Runners\n------------\n\nTest Runners spend the majority of their time executing tests and generally making sure\nthat test results are being generated, and that the generated test results are relevant,\nreproducible, and accurate. They spend the majority of their time interacting with tradefed's\ncommand line interface, and will also verify that the results make sense.\n\nIn order to get the most out of Trade Federation, all three roles will need to be represented.\nIt will take Developers and Integrators to make TF interoperate with other pieces of infrastructure,\nlike build systems and test result repositories. It will take Integrators and Test Runners to get\nTF to actually run the desired tests and produce the desired test results. It will take Test\nRunners to identify results that don't make sense, and to work with the Developers and\nIntegrators to figure out where the bugs may lie and get them fixed.\n\nWhat's next\n-----------\n\nPeople in all three roles should at least glance through all the rest of the docs.\n[Machine Setup](/docs/core/tests/tradefed/fundamentals/machine_setup) will get you to the point where you can run TF (by building or downloading it).\n[Working with Devices](/docs/core/tests/tradefed/fundamentals/devices) will explain how to run tests with a physical device, with an emulator, or\nwith no device at all. The\n[Test Lifecycle](/docs/core/tests/tradefed/fundamentals/lifecycle) page will explain from a theoretical perspective how the roles of the\nDeveloper, Integrator, and Test Runner interact, and then\n[Option Handling](/docs/core/tests/tradefed/fundamentals/options) will demonstrate how to put that theory into practice.\n\nFinally, the [End-to-End Example](/docs/core/tests/tradefed/fundamentals/full_example) takes you through the development, integration, and deployment of a sample\ntest. It involves aspects of each role, and should offer hints at how to do more complicated\nthings that aren't directly discussed in the documentation.\n\nIf you've gotten through everything here and still have unanswered questions, first try taking\na look at the [Trade Federation source code](https://android.googlesource.com/platform/tools/tradefederation/+/main). Beyond that, feel free to try asking on the\n[android-platform](/docs/setup/community) Google Group. For best results, make\nsure to mention \"Trade Federation\" (or \"tradefed\", or \"TF\") in the message subject."]]