All fields

“Testing” in Information Technology

237 questions across 16 technologies.

Information Technology

237 questions in 16 technologies

#QuestionTechnologyTopicLevel
1What is React Testing Library and how does its approach to testing differ from testing internal implementation details? React › TestingReactTestingBeginner
2What is snapshot testing in React, and what are its benefits and drawbacks? React › TestingReactTestingIntermediate
3What is end to end testing and how is it different from the unit tests Angular sets up by default? Angular › End to End Testing with Cypress & PlaywrightAngularEnd to End Testing with Cypress & PlaywrightBeginner
4What are Jasmine and Karma, and what role does each play in testing an Angular app? Angular › Testing with Jasmine & KarmaAngularTesting with Jasmine & KarmaBeginner
5How do you mock platform/device services for testing? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingIntermediate
6How do you mock platform/device services for testing? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingIntermediate
7What is Playwright and how does it compare to Cypress for testing an Angular app? Angular › End to End Testing with Cypress & PlaywrightAngularEnd to End Testing with Cypress & PlaywrightIntermediate
8What are matchers in Flutter testing, such as equals, isTrue, and throwsA, and how do they let you express several genuinely different kinds of specific assertions within a given test? Flutter › Unit Testing in FlutterFlutterUnit Testing in FlutterBeginner
9What are mock objects in PHPUnit, and why are they useful when testing a piece of code that depends on an external service, such as sending an email or calling a third party API? PHP › Unit Testing with PHPUnitPHPUnit Testing with PHPUnitIntermediate
10What is test coverage, and why should achieving a high test coverage percentage not necessarily be treated as the sole ultimate goal of a testing strategy? PHP › Unit Testing with PHPUnitPHPUnit Testing with PHPUnitIntermediate
11How do you properly use the mockito package to create a genuine mock object specifically for testing a class that genuinely depends on an external dependency, such as a network client or a database repository? Flutter › Unit Testing in FlutterFlutterUnit Testing in FlutterIntermediate
12What is snapshot testing and what's a common pitfall with it? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
13How would you set up a testing strategy that balances unit, integration, and end to end tests for a large Next.js application? Next.js › Testing Next.js ApplicationsNext.jsTesting Next.js ApplicationsAdvanced
14How do you properly and correctly measure and profile genuine real world performance metrics, such as actual frame rendering time, directly from within an integration test using Flutter's own dedicated performance testing tools? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterAdvanced
15How should a large team properly establish testing conventions and standards, including deciding on a genuinely reasonable required minimum coverage threshold and properly enforcing it through their CI pipeline? Flutter › Unit Testing in FlutterFlutterUnit Testing in FlutterAdvanced
16How do you properly test a widget's own accessibility properties within a widget test, verifying it meets specific established accessibility guidelines using Flutter's own built in accessibility testing utilities? Flutter › Widget Testing in FlutterFlutterWidget Testing in FlutterAdvanced
17How would you write a unit test that thoroughly verifies a custom equals() and hashCode() implementation satisfies its contract, and what testing libraries exist specifically for this purpose? Java › equals(), hashCode() & toString() ContractsJavaequals(), hashCode() & toString() ContractsIntermediate
18What does the node:assert module provide, and how does it differ in purpose from a full testing framework? Node.js › Core Node.js ModulesNode.jsCore Node.js ModulesIntermediate
19How would you mock a service during testing to isolate a component from its real dependencies? Angular › Services & Dependency InjectionAngularServices & Dependency InjectionIntermediate
20How does dependency injection make unit testing significantly easier by letting you substitute a real dependency, such as a live network client, with a fake or mock version during a test? Flutter › Dependency Injection in Flutter (GetIt & Service Locator)FlutterDependency Injection in Flutter (GetIt & Service Locator)Intermediate
21How would you implement automated testing that verifies deprecated API versions still function correctly while newer versions are actively developed? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningAdvanced
22How would you write automated tests for GraphQL resolvers in Node.js, testing them independently of the full HTTP/schema execution layer? Node.js › GraphQLNode.jsGraphQLAdvanced
23How should a team design a comprehensive PHP application deployment pipeline that incorporates automated testing, security scanning, and staged rollouts across multiple environments? PHP › Deployment & Hosting for PHP ApplicationsPHPDeployment & Hosting for PHP ApplicationsAdvanced
24What testing and continuous integration practices should a well maintained open source PHP package follow to ensure reliability across different PHP versions and dependency combinations? PHP › Package Development & Publishing with ComposerPHPPackage Development & Publishing with ComposerAdvanced
25How can automated accessibility testing be integrated into a Flutter app's test suite to catch accessibility regressions before they reach production? Flutter › Accessibility in Flutter AppsFlutterAccessibility in Flutter AppsAdvanced
26What testing strategies help ensure deep links continue working correctly across app updates, especially as new screens and routes are added or existing route patterns change over time? Flutter › Deep Linking in FlutterFlutterDeep Linking in FlutterAdvanced
27How do you properly test each individual distinct layer of a Clean Architecture based Flutter app, including the domain, data, and presentation layers, using genuinely appropriate distinct testing strategies for each one? Flutter › Flutter Architecture Patterns (MVVM & Clean Architecture)FlutterFlutter Architecture Patterns (MVVM & Clean Architecture)Advanced
28What testing strategies genuinely help you thoroughly and reliably test in app purchase flows during active development, given that genuine real actual purchases genuinely involve real actual money? Flutter › In App Purchases in FlutterFlutterIn App Purchases in FlutterAdvanced
29What is the SAM CLI, and how does it support local testing of serverless applications before deployment? AWS › AWS Serverless Application Model (SAM)AWSAWS Serverless Application Model (SAM)Beginner
30What is load testing, and how would you use a tool like autocannon or k6 to benchmark a Node.js API's throughput and latency? Node.js › Performance Optimization & ProfilingNode.jsPerformance Optimization & ProfilingIntermediate
31What is the difference between the Google Play Store's internal testing, closed testing, and production release tracks, and why would a team use them in that specific order? Flutter › App Deployment (Play Store & App Store)FlutterApp Deployment (Play Store & App Store)Intermediate
32How can a CI/CD pipeline automatically deploy a successfully built and tested Flutter app directly to a testing distribution service, such as Firebase App Distribution or TestFlight, for internal testers? Flutter › CI/CD Pipelines for Flutter AppsFlutterCI/CD Pipelines for Flutter AppsIntermediate
33How would you leverage structural typing to design a flexible 'partial dependency injection' interface for testing, accepting any object with the needed shape rather than requiring a specific concrete class? TypeScript › Structural Typing & Duck TypingTypeScriptStructural Typing & Duck TypingAdvanced
34How would you configure HttpClient to trust a custom or self-signed SSL/TLS certificate for testing against an internal service, and what security risks does disabling certificate validation entirely introduce? Java › Java Networking & HTTP ClientJavaJava Networking & HTTP ClientAdvanced
35How does managing different build flavors or environments, such as development, staging, and production, help streamline the process of preparing separate app builds for internal testing versus the actual public release? Flutter › App Deployment (Play Store & App Store)FlutterApp Deployment (Play Store & App Store)Advanced
36What is the difference between a unit test and a component test in a React app? React › TestingReactTestingBeginner
37How would you test a component that fetches data when it first appears on the screen? React › TestingReactTestingIntermediate
38How would you write an end to end test that checks a full user flow across multiple pages, such as logging in and viewing a dashboard? React › TestingReactTestingAdvanced
39How do you unit test a MAUI app's logic? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingBeginner
40How do you unit test a MAUI app's logic? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingBeginner
41Why should a team combine end to end tests with unit tests rather than relying on just one type? Angular › End to End Testing with Cypress & PlaywrightAngularEnd to End Testing with Cypress & PlaywrightBeginner
42What is the difference between a unit test and a component test in an Angular app? Angular › Testing with Jasmine & KarmaAngularTesting with Jasmine & KarmaBeginner
43What is an integration test in Flutter, and how does it genuinely differ from a unit test or a widget test in terms of exactly what it actually verifies? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterBeginner
44What is the integration_test package, and how does it let you actually run your Flutter integration tests directly on a real physical device or a properly configured emulator? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterBeginner
45What is a unit test in Flutter, and how does the flutter_test package's own test function let you write and organize a genuinely simple basic test? Flutter › Unit Testing in FlutterFlutterUnit Testing in FlutterBeginner
46What is a widget test in Flutter, and how does it genuinely differ from a unit test in terms of verifying that a specific given widget actually genuinely renders and behaves correctly? Flutter › Widget Testing in FlutterFlutterWidget Testing in FlutterBeginner
47How would you set up Cypress in an Angular project to write your first end to end test? Angular › End to End Testing with Cypress & PlaywrightAngularEnd to End Testing with Cypress & PlaywrightIntermediate
48How does pumpAndSettle differ from a single simple pump call within an integration test, and why is it genuinely so commonly and frequently used specifically after triggering an action that starts an animation or a network request? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterIntermediate
49How do you properly simulate genuinely realistic user gestures, such as scrolling, dragging, and long pressing, within an integration test using the WidgetTester's own available gesture methods? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterIntermediate
50How should you properly and correctly handle actual external dependencies, such as a genuine real network API or Firebase, within an integration test, given that these tests genuinely run using your actual real complete app? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterIntermediate
51How do setUp and tearDown let you properly share common test setup and cleanup logic consistently across several genuinely separate related tests within the exact same group? Flutter › Unit Testing in FlutterFlutterUnit Testing in FlutterIntermediate
52How do you properly simulate a genuine user interaction, such as tapping a button or entering text into a field, within a widget test using the WidgetTester's own available methods? Flutter › Widget Testing in FlutterFlutterWidget Testing in FlutterIntermediate
53How do you write UI/integration tests for MAUI apps? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingAdvanced
54How do you write UI/integration tests for MAUI apps? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingAdvanced
55How would you mock a backend API response during an end to end test to avoid depending on a real server? Angular › End to End Testing with Cypress & PlaywrightAngularEnd to End Testing with Cypress & PlaywrightAdvanced
56How can integration tests genuinely be properly integrated into a CI/CD pipeline, given that they genuinely require an actual real device or emulator to actually run, unlike considerably simpler and faster unit tests? Flutter › Integration Testing in FlutterFlutterIntegration Testing in FlutterAdvanced
57How should a large team properly structure their widget test suite to genuinely balance thorough coverage against considerably reasonable overall test execution time, given that widget tests genuinely run considerably slower than simpler pure unit tests? Flutter › Widget Testing in FlutterFlutterWidget Testing in FlutterAdvanced
58How do you pause code execution at a specific line using the browser DevTools? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingBeginner
59What is console.table() useful for? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingBeginner
60What is a unit test and what makes a good one? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingBeginner
61What are the main types of tests you would write for a Next.js application? Next.js › Testing Next.js ApplicationsNext.jsTesting Next.js ApplicationsBeginner
62How do you write a basic unit test for a component in a Next.js application? Next.js › Testing Next.js ApplicationsNext.jsTesting Next.js ApplicationsBeginner
63What is PHPUnit, and what is a unit test meant to actually verify about a piece of code? PHP › Unit Testing with PHPUnitPHPUnit Testing with PHPUnitBeginner
64What are assertions in PHPUnit, and how do commonly used assertions like assertEquals and assertTrue let you verify expected behavior within a test? PHP › Unit Testing with PHPUnitPHPUnit Testing with PHPUnitBeginner
65How does the find object let you actually locate a specific given widget within the genuinely rendered widget tree during a widget test, such as by its own displayed text or its own specific widget type? Flutter › Widget Testing in FlutterFlutterWidget Testing in FlutterBeginner
66How do you debug platform-specific issues in MAUI? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingIntermediate
67What is Hot Reload and what are its limitations in MAUI? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingIntermediate
68How do you debug platform-specific issues in MAUI? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingIntermediate
69What is Hot Reload and what are its limitations in MAUI? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingIntermediate
70How does Jest's mocking help isolate the code under test? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingIntermediate
71What is code coverage and why isn't 100% coverage the same as bug-free code? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingIntermediate
72How does source mapping help when debugging minified or transpiled code? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingIntermediate
73How do you use Angular's TestBed to test a component that depends on a service? Angular › Testing with Jasmine & KarmaAngularTesting with Jasmine & KarmaIntermediate
74How would you test that clicking a button in a component triggers the expected behavior? Angular › Testing with Jasmine & KarmaAngularTesting with Jasmine & KarmaIntermediate
75How would you test a server component that fetches data asynchronously? Next.js › Testing Next.js ApplicationsNext.jsTesting Next.js ApplicationsIntermediate
76How do you write an end to end test that simulates a user navigating through your Next.js application in a real browser? Next.js › Testing Next.js ApplicationsNext.jsTesting Next.js ApplicationsIntermediate
77What is the arrange act assert pattern, and how does structuring a test around these three distinct steps make tests clearer and easier to understand? PHP › Unit Testing with PHPUnitPHPUnit Testing with PHPUnitIntermediate
78How do you properly measure and interpret test coverage for your Flutter app using the flutter test --coverage command, and what genuinely does the resulting coverage report actually specifically tell you? Flutter › Unit Testing in FlutterFlutterUnit Testing in FlutterIntermediate
79How should you properly test a widget that genuinely depends on a Riverpod, Provider, or BLoC based state management solution, using an appropriate override or a properly mocked dependency? Flutter › Widget Testing in FlutterFlutterWidget Testing in FlutterIntermediate
80How can golden tests, meaning screenshot comparison tests, help catch an unintended visual regression by properly comparing a given widget's own genuinely current rendered appearance against a previously saved reference image? Flutter › Widget Testing in FlutterFlutterWidget Testing in FlutterIntermediate
81How do you capture and diagnose crashes in production MAUI apps? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingAdvanced
82How do you capture and diagnose crashes in production MAUI apps? .NET MAUI › Testing & Debugging.NET MAUITesting & DebuggingAdvanced
83How do you write an effective test for asynchronous code? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
84How does the Performance panel in DevTools help diagnose a janky UI? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
85What's the difference between end-to-end (E2E) tests and unit tests, and when do you use each? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
86How would you test an Angular service that makes HTTP requests, without making real network calls during the test? Angular › Testing with Jasmine & KarmaAngularTesting with Jasmine & KarmaAdvanced
87How do data providers in PHPUnit let you run the exact same test logic repeatedly against many different sets of input data, without duplicating the test method itself? PHP › Unit Testing with PHPUnitPHPUnit Testing with PHPUnitAdvanced
88How does test driven development, commonly abbreviated as TDD, change the typical order in which tests and actual implementation code are written, and what benefits does this workflow claim to offer? PHP › Unit Testing with PHPUnitPHPUnit Testing with PHPUnitAdvanced
89How do you properly write parameterized tests that run the exact same test logic against several genuinely different sets of input data, avoiding needing to duplicate that exact same test method several genuinely separate times? Flutter › Unit Testing in FlutterFlutterUnit Testing in FlutterAdvanced
90What is the MVVM pattern and why use it in MAUI? .NET MAUI › Data Binding & MVVM.NET MAUIData Binding & MVVMBeginner
91What is the MVVM pattern and why use it in MAUI? .NET MAUI › Data Binding & MVVM.NET MAUIData Binding & MVVMBeginner
92What is a memory leak in JavaScript, given that it has automatic garbage collection? JavaScript › Memory Management & Garbage CollectionJavaScriptMemory Management & Garbage CollectionBeginner
93What is dependency injection, and how does ASP.NET Core's built-in DI container support it? .NET › Dependency Injection.NETDependency InjectionBeginner
94What is dependency injection, and how does ASP.NET Core's built-in DI container support it out of the box? ASP.NET Core › Dependency InjectionASP.NET CoreDependency InjectionBeginner
95What is the standard Maven directory layout, and why does following this convention matter? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleBeginner
96What is Mongoose, and what does it add on top of the raw MongoDB Node.js driver? Node.js › Databases & ORMs (MongoDB/Mongoose, SQL/Sequelize)Node.jsDatabases & ORMs (MongoDB/Mongoose, SQL/Sequelize)Beginner
97How do you use the built-in 'debugger' statement together with Node's --inspect flag to set breakpoints in code? Node.js › Debugging & DiagnosticsNode.jsDebugging & DiagnosticsBeginner
98What tools can you use to check accessibility issues in a React app? React › Accessibility (a11y) in ReactReactAccessibility (a11y) in ReactBeginner
99What is the difference between a development server and a production build in a React project? React › Build Tools & Bundlers (Vite, Webpack & CRA)ReactBuild Tools & Bundlers (Vite, Webpack & CRA)Beginner
100What is a production build in React and how do you create one? React › Deployment & Production BuildsReactDeployment & Production BuildsBeginner
101Why is it important to test your React app one more time after building it for production? React › Deployment & Production BuildsReactDeployment & Production BuildsBeginner
102What is an error boundary in React and why is it useful? React › Error BoundariesReactError BoundariesBeginner
103Where should you place error boundaries in a real React app? React › Error BoundariesReactError BoundariesBeginner
104What is a helpful first step when debugging an error message shown in the browser console? React › React DevTools & DebuggingReactReact DevTools & DebuggingBeginner
105What is a simple real world example of the render props pattern being useful? React › Render Props PatternReactRender Props PatternBeginner
106What is React Strict Mode and what does it actually do? React › Strict Mode & Concurrent FeaturesReactStrict Mode & Concurrent FeaturesBeginner
107Should you leave Strict Mode enabled in your app permanently, or only use it temporarily? React › Strict Mode & Concurrent FeaturesReactStrict Mode & Concurrent FeaturesBeginner
108Why do many teams choose to use TypeScript together with React? React › TypeScript with ReactReactTypeScript with ReactBeginner
109What tools can you use to check accessibility issues in an Angular app? Angular › Accessibility (a11y) in AngularAngularAccessibility (a11y) in AngularBeginner
110What is dependency injection in Angular, and how does a component receive a service? Angular › Services & Dependency InjectionAngularServices & Dependency InjectionBeginner
111How do you create a custom error page for a specific route segment in the App Router? Next.js › Error Handling & Not Found PagesNext.jsError Handling & Not Found PagesBeginner
112How do you set up a Next.js project to use TypeScript? Next.js › TypeScript with Next.jsNext.jsTypeScript with Next.jsBeginner
113What is dependency injection, and how does it improve the design of PHP applications compared to creating dependencies directly inside a class? PHP › Dependency Injection & Service ContainersPHPDependency Injection & Service ContainersBeginner
114What is the Singleton pattern, and what are its intended use cases along with its commonly cited drawbacks? PHP › Design Patterns in PHPPHPDesign Patterns in PHPBeginner
115What is static analysis, and how do tools like PHPStan and Psalm help catch bugs in PHP code before it is even run? PHP › Static Analysis (PHPStan & Psalm)PHPStatic Analysis (PHPStan & Psalm)Beginner
116What does CI/CD mean in the context of Flutter app development, and what benefits does automating the build, test, and deployment process actually provide to a team? Flutter › CI/CD Pipelines for Flutter AppsFlutterCI/CD Pipelines for Flutter AppsBeginner
117What are some popular CI/CD platforms commonly used for automating Flutter app builds and tests, and what are the general tradeoffs between them? Flutter › CI/CD Pipelines for Flutter AppsFlutterCI/CD Pipelines for Flutter AppsBeginner
118What is dependency injection, and why is it a generally recommended practice for structuring a Flutter application's various services and repositories? Flutter › Dependency Injection in Flutter (GetIt & Service Locator)FlutterDependency Injection in Flutter (GetIt & Service Locator)Beginner
119Why is proper error handling important in a Flutter app, and what happens by default if an unhandled exception occurs somewhere within a running app? Flutter › Error Handling & Crash Reporting (Sentry & Crashlytics)FlutterError Handling & Crash Reporting (Sentry & Crashlytics)Beginner
120What is Firebase Crashlytics, and how does it automatically capture and report crashes that occur in your app once it is actually running on real users' devices? Flutter › Error Handling & Crash Reporting (Sentry & Crashlytics)FlutterError Handling & Crash Reporting (Sentry & Crashlytics)Beginner
121What is the MVVM, or Model View ViewModel, architectural pattern, and how does it help clearly separate a Flutter app's user interface code from its underlying business logic? Flutter › Flutter Architecture Patterns (MVVM & Clean Architecture)FlutterFlutter Architecture Patterns (MVVM & Clean Architecture)Beginner
122What is Flutter DevTools, and what are some of the core debugging and performance analysis features it actually provides to help you build and troubleshoot a Flutter app? Flutter › Flutter DevTools & DebuggingFlutterFlutter DevTools & DebuggingBeginner
123What is hot reload in Flutter, and how does it let you see the direct visual result of a code change almost instantly, without needing to fully restart your entire app from scratch every single time? Flutter › Flutter DevTools & DebuggingFlutterFlutter DevTools & DebuggingBeginner
124What is the BLoC pattern, and how does it genuinely separate your app's own business logic from its user interface using genuine Streams and events? Flutter › State Management with BLoC & CubitFlutterState Management with BLoC & CubitBeginner
125What is the service locator anti-pattern and how do you avoid it in MAUI? .NET MAUI › Dependency Injection & Services.NET MAUIDependency Injection & ServicesIntermediate
126How do you diagnose and fix memory leaks in MAUI? .NET MAUI › Performance & Optimization.NET MAUIPerformance & OptimizationIntermediate
127What are common async/await pitfalls in MAUI? .NET MAUI › Concurrency & Threading.NET MAUIConcurrency & ThreadingIntermediate
128What is the service locator anti-pattern and how do you avoid it in MAUI? .NET MAUI › Dependency Injection & Services.NET MAUIDependency Injection & ServicesIntermediate
129How do you diagnose and fix memory leaks in MAUI? .NET MAUI › Performance & Optimization.NET MAUIPerformance & OptimizationIntermediate
130What are common async/await pitfalls in MAUI? .NET MAUI › Concurrency & Threading.NET MAUIConcurrency & ThreadingIntermediate
131How do you configure a GitHub Actions workflow to build, test, and publish a .NET application? .NET › CI/CD, Publishing & Deployment.NETCI/CD, Publishing & DeploymentIntermediate
132What is the difference between constructor injection and service location (using IServiceProvider directly to resolve dependencies)? .NET › Dependency Injection.NETDependency InjectionIntermediate
133What is IHostEnvironment, and how do you use it to conditionally configure services based on the current environment? .NET › Generic Host.NETGeneric HostIntermediate
134How do you write an integration test verifying that your global exception handler produces the correct error response shape? .NET › Global Exception Handling & Middleware.NETGlobal Exception Handling & MiddlewareIntermediate
135How do you validate that an API's actual behavior matches its published OpenAPI specification, preventing documentation drift? ASP.NET Core › API Documentation with Swagger/OpenAPIASP.NET CoreAPI Documentation with Swagger/OpenAPIIntermediate
136How do you unit test that a specific API version's controller action behaves correctly, given the version-based routing? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningIntermediate
137How do you use IHostEnvironment/IWebHostEnvironment to conditionally configure services based on the current environment? ASP.NET Core › Configuration & Options PatternASP.NET CoreConfiguration & Options PatternIntermediate
138How do you add XML output formatting support to an ASP.NET Core API alongside the default JSON formatter? ASP.NET Core › Content Negotiation & Output FormattersASP.NET CoreContent Negotiation & Output FormattersIntermediate
139How do you test that an API correctly returns different formats based on the Accept header using integration tests? ASP.NET Core › Content Negotiation & Output FormattersASP.NET CoreContent Negotiation & Output FormattersIntermediate
140What is the difference between constructor injection and using IServiceProvider directly to resolve dependencies imperatively (service location)? ASP.NET Core › Dependency InjectionASP.NET CoreDependency InjectionIntermediate
141How would you unit test a custom action filter's logic in isolation, without needing a full HTTP request pipeline? ASP.NET Core › FiltersASP.NET CoreFiltersIntermediate
142How would you write an integration test verifying that your health check endpoint correctly reports Unhealthy when a dependency is down? ASP.NET Core › Health ChecksASP.NET CoreHealth ChecksIntermediate
143What is the Maven build lifecycle, and what do the common phases (validate, compile, test, package, install, deploy) each do? Java › Build Tools: Maven & GradleJavaBuild Tools: Maven & GradleIntermediate
144What is hot class reloading/redefinition (via Instrumentation.redefineClasses() or a JVM agent), and what are its practical limitations compared to a full class unload/reload? Java › Class Loading & Bytecode VerificationJavaClass Loading & Bytecode VerificationIntermediate
145What is the Template Method pattern, and how is it used to define the skeleton of an algorithm while letting subclasses customize specific steps? Java › Design Patterns in JavaJavaDesign Patterns in JavaIntermediate
146How does the Predicate interface's default methods and(), or(), and negate() enable composing complex boolean conditions from simpler ones? Java › Functional Interfaces & Method ReferencesJavaFunctional Interfaces & Method ReferencesIntermediate
147How would you calculate a person's age or the number of days until a recurring annual event (like a birthday) using ChronoUnit, and what's a common pitfall with leap-year birthdays (February 29)? Java › Java Date & Time API (java.time)JavaJava Date & Time API (java.time)Intermediate
148What is a qualified export (exports package to specificModule), and when would you use it instead of a plain, unqualified export? Java › Java Platform Module System (JPMS)JavaJava Platform Module System (JPMS)Intermediate
149What is Dependency Injection, and how is it typically implemented in Node.js given the language has no built-in DI container? Node.js › Architecture & Design PatternsNode.jsArchitecture & Design PatternsIntermediate
150What is a feature flag, and how would you implement one in a Node.js application to control a new feature's rollout? Node.js › Cloud & DevOpsNode.jsCloud & DevOpsIntermediate
151What is email template rendering, and how might you use a templating engine to generate dynamic HTML emails in Node.js? Node.js › Email & NotificationsNode.jsEmail & NotificationsIntermediate
152How would you test that a Node.js application correctly sends emails without actually sending real emails during automated tests? Node.js › Email & NotificationsNode.jsEmail & NotificationsIntermediate
153What is a pull request template, and how does it help standardize code review in a Node.js team's Git workflow? Node.js › Git & Project ManagementNode.jsGit & Project ManagementIntermediate
154What is the purpose of an npm 'scripts' section in package.json, and how do custom scripts standardize common project tasks across a team? Node.js › Git & Project ManagementNode.jsGit & Project ManagementIntermediate
155How do you log error details when an error boundary catches an error? React › Error BoundariesReactError BoundariesIntermediate
156What is the difference between providing a service using useClass and useExisting? Angular › Dependency Injection Providers & Injection TokensAngularDependency Injection Providers & Injection TokensIntermediate
157How would you validate that all required environment variables are present and correctly formatted before your app starts? Next.js › Environment Variables & Configuration ManagementNext.jsEnvironment Variables & Configuration ManagementIntermediate
158How do you rewrite a request to a different path using middleware without changing the URL the user sees? Next.js › MiddlewareNext.jsMiddlewareIntermediate
159What should you do if a specific loader or plugin your project relies on is not yet fully supported by Turbopack? Next.js › Turbopack & Build PerformanceNext.jsTurbopack & Build PerformanceIntermediate
160What key sections should a well structured composer.json file for a publishable package include, beyond the basic name and dependencies? PHP › Package Development & Publishing with ComposerPHPPackage Development & Publishing with ComposerIntermediate
161How does semantic versioning apply specifically to a published package, and why is carefully following it important for not breaking projects that depend on your package? PHP › Package Development & Publishing with ComposerPHPPackage Development & Publishing with ComposerIntermediate
162What is a baseline file in PHPStan, and how does it help a team adopt static analysis on an existing project without needing to fix every single issue immediately? PHP › Static Analysis (PHPStan & Psalm)PHPStatic Analysis (PHPStan & Psalm)Intermediate
163How does a typical Flutter CI pipeline automate running static analysis and the full test suite before allowing a pull request to actually be merged? Flutter › CI/CD Pipelines for Flutter AppsFlutterCI/CD Pipelines for Flutter AppsIntermediate
164How can composition, meaning combining several smaller, focused custom widgets together, help build a complex screen more maintainably than relying on one giant, monolithic widget class? Flutter › Custom Widgets & Reusable ComponentsFlutterCustom Widgets & Reusable ComponentsIntermediate
165What is the difference between registerSingleton, registerLazySingleton, and registerFactory when registering a dependency with GetIt? Flutter › Dependency Injection in Flutter (GetIt & Service Locator)FlutterDependency Injection in Flutter (GetIt & Service Locator)Intermediate
166What is Sentry, and how does it compare to Firebase Crashlytics in terms of the additional contextual information and features it provides for diagnosing an error? Flutter › Error Handling & Crash Reporting (Sentry & Crashlytics)FlutterError Handling & Crash Reporting (Sentry & Crashlytics)Intermediate
167How do use cases, sometimes also called interactors, in Clean Architecture help encapsulate one single specific piece of application business logic, keeping it fully independent of any specific user interface or specific data source implementation? Flutter › Flutter Architecture Patterns (MVVM & Clean Architecture)FlutterFlutter Architecture Patterns (MVVM & Clean Architecture)Intermediate
168How can you use the debugger and breakpoints within an IDE like Visual Studio Code or Android Studio to actually step through your Flutter app's code line by line and inspect the exact current values of your variables? Flutter › Flutter DevTools & DebuggingFlutterFlutter DevTools & DebuggingIntermediate
169How should you properly write both unit tests and platform specific integration tests for a Flutter plugin to genuinely verify it correctly works across every single one of its supported platforms? Flutter › Flutter Plugin & Package DevelopmentFlutterFlutter Plugin & Package DevelopmentIntermediate
170How does pub.dev's own automated scoring system genuinely evaluate a given package's own overall quality, and what specific concrete steps can you genuinely take to actually improve your own particular package's own resulting score? Flutter › Publishing Packages on pub.devFlutterPublishing Packages on pub.devIntermediate
171How do you structure a large, enterprise MAUI solution? .NET MAUI › Advanced & Enterprise.NET MAUIAdvanced & EnterpriseAdvanced
172How do you keep a MAUI codebase testable and loosely coupled? .NET MAUI › Best Practices & Architecture.NET MAUIBest Practices & ArchitectureAdvanced
173How do you structure a large, enterprise MAUI solution? .NET MAUI › Advanced & Enterprise.NET MAUIAdvanced & EnterpriseAdvanced
174How do you keep a MAUI codebase testable and loosely coupled? .NET MAUI › Best Practices & Architecture.NET MAUIBest Practices & ArchitectureAdvanced
175How would you use Chrome DevTools' heap snapshot comparison to find a leak's source? JavaScript › Memory Management & Garbage CollectionJavaScriptMemory Management & Garbage CollectionAdvanced
176What is XMLHttpRequest and why would you still use it over fetch() today? JavaScript › Networking: Fetch, XHR, WebSockets & CORSJavaScriptNetworking: Fetch, XHR, WebSockets & CORSAdvanced
177How would you use a memory profiler (or dotnet-counters / dotnet-gcdump) to diagnose excessive garbage collection pressure in a production .NET application? C# › Memory & Garbage CollectionC#Memory & Garbage CollectionAdvanced
178How do you correctly test async generators and async context managers using pytest and pytest-asyncio? Python › Async Generators & Async Context ManagersPythonAsync Generators & Async Context ManagersAdvanced
179How would you write integration tests for an argparse-based CLI tool using pytest, verifying both successful parsing and expected error behavior? Python › Command-Line Interfaces (argparse)PythonCommand-Line Interfaces (argparse)Advanced
180How would you unit test a service that depends on multiple injected interfaces without spinning up the full DI container? .NET › Dependency Injection.NETDependency InjectionAdvanced
181How would you design API versioning strategy differently for a public, third-party-consumed API versus an internal microservice API? ASP.NET Core › API VersioningASP.NET CoreAPI VersioningAdvanced
182How do you unit test custom authorization handlers in isolation, without needing a full HTTP request pipeline? ASP.NET Core › AuthorizationASP.NET CoreAuthorizationAdvanced
183How do you test a BackgroundService's business logic without waiting for its actual polling interval, keeping tests fast? ASP.NET Core › Background Tasks & Hosted ServicesASP.NET CoreBackground Tasks & Hosted ServicesAdvanced
184How would you decide between controllers and minimal APIs for a new project, weighing team familiarity, project complexity, and long-term maintainability? ASP.NET Core › Controllers vs Minimal APIsASP.NET CoreControllers vs Minimal APIsAdvanced
185How does dependency injection differ in practice between controllers (constructor injection) and minimal APIs (parameter injection)? ASP.NET Core › Controllers vs Minimal APIsASP.NET CoreControllers vs Minimal APIsAdvanced
186How would you migrate an existing controller-based API to minimal APIs incrementally without a risky big-bang rewrite? ASP.NET Core › Controllers vs Minimal APIsASP.NET CoreControllers vs Minimal APIsAdvanced
187How do you write integration tests that work consistently for both controller-based and minimal API endpoints using WebApplicationFactory? ASP.NET Core › Controllers vs Minimal APIsASP.NET CoreControllers vs Minimal APIsAdvanced
188How would you write an integration test verifying that a CORS policy correctly allows a specific origin and rejects an unauthorized one? ASP.NET Core › CORS (Cross-Origin Resource Sharing)ASP.NET CoreCORS (Cross-Origin Resource Sharing)Advanced
189How would you unit test a service or minimal API handler that depends on multiple injected interfaces, without spinning up the full DI container? ASP.NET Core › Dependency InjectionASP.NET CoreDependency InjectionAdvanced
190How does ValidateOnBuild help catch dependency injection configuration errors immediately at application startup rather than at runtime? ASP.NET Core › Dependency InjectionASP.NET CoreDependency InjectionAdvanced
191How would you debug why a specific request isn't matching the route you expect it to, using ASP.NET Core's routing diagnostics? ASP.NET Core › Endpoint Metadata, Route Constraints & TemplatesASP.NET CoreEndpoint Metadata, Route Constraints & TemplatesAdvanced
192How would you write an integration test verifying that your global exception handler produces the correct error response shape for a specific exception type? ASP.NET Core › Error HandlingASP.NET CoreError HandlingAdvanced
193How would you implement the Dependency Injection pattern manually (without a framework like Spring) using constructor injection, and what testability benefits does this provide? Java › Design Patterns in JavaJavaDesign Patterns in JavaAdvanced
194How would you design a fluent, chainable validation API using functional interfaces, similar to how Comparator's thenComparing() works, but for validation rules that accumulate error messages rather than short-circuiting on the first failure? Java › Functional Interfaces & Method ReferencesJavaFunctional Interfaces & Method ReferencesAdvanced
195How would you use an anonymous class to create a one-off subclass with a customized implementation, distinct from anonymous classes implementing an interface, and what specific syntax quirk applies? Java › Inner Classes & Anonymous ClassesJavaInner Classes & Anonymous ClassesAdvanced
196What are private methods on an interface (introduced in Java 9), and what specific problem do they solve regarding code duplication between multiple default methods? Java › Interfaces & Abstract ClassesJavaInterfaces & Abstract ClassesAdvanced
197How would you correctly handle daylight saving time (DST) transitions when performing date-time arithmetic with ZonedDateTime, and what specific pitfalls exist around the 'spring forward' and 'fall back' transitions? Java › Java Date & Time API (java.time)JavaJava Date & Time API (java.time)Advanced
198How would you implement a recurring event scheduling system that correctly handles both fixed-instant recurrence (every exactly 24 hours) and calendar-based recurrence (every day at 9 AM local time), given these have meaningfully different behavior across DST transitions? Java › Java Date & Time API (java.time)JavaJava Date & Time API (java.time)Advanced
199How would you implement a simple HTTP server (not just a client) using the lightweight com.sun.net.httpserver.HttpServer class bundled with the JDK, without a full framework like Spring? Java › Java Networking & HTTP ClientJavaJava Networking & HTTP ClientAdvanced
200How does Node.js's built-in test runner (node:test) compare to third-party frameworks like Jest or Mocha? Node.js › Advanced Node.jsNode.jsAdvanced Node.jsAdvanced
201What is a layered (n-tier) architecture in a Node.js/Express application, and what are its typical layers? Node.js › Architecture & Design PatternsNode.jsArchitecture & Design PatternsAdvanced
202What is the Repository pattern, and how does it help decouple business logic from a specific database technology? Node.js › Architecture & Design PatternsNode.jsArchitecture & Design PatternsAdvanced
203What is a Hexagonal Architecture (Ports and Adapters), and what specific benefit does it provide for a Node.js API? Node.js › Architecture & Design PatternsNode.jsArchitecture & Design PatternsAdvanced
204How would you use Git hooks (like a pre-commit hook via Husky) to enforce code quality checks before code is committed in a Node.js project? Node.js › Git & Project ManagementNode.jsGit & Project ManagementAdvanced
205How would you use Git bisect to find the specific commit that introduced a regression in a Node.js application's behavior? Node.js › Git & Project ManagementNode.jsGit & Project ManagementAdvanced
206What is a continuous deployment pipeline, and how does it apply to a React project? React › Deployment & Production BuildsReactDeployment & Production BuildsAdvanced
207How do you handle pluralization correctly across different languages in an internationalized React app? React › Internationalization (i18n) in ReactReactInternationalization (i18n) in ReactAdvanced
208How do you use browser DevTools breakpoints together with Angular source maps to step through your actual TypeScript code? Angular › Angular DevTools & DebuggingAngularAngular DevTools & DebuggingAdvanced
209How would you create a custom schematic to generate a component following your own team's specific conventions? Angular › Angular Schematics & Custom BuildersAngularAngular Schematics & Custom BuildersAdvanced
210How would you set up a continuous deployment pipeline for an Angular project? Angular › Build, Environments & DeploymentAngularBuild, Environments & DeploymentAdvanced
211How do you handle pluralization correctly across different languages in an internationalized Angular app? Angular › Internationalization (i18n) in AngularAngularInternationalization (i18n) in AngularAdvanced
212How would you migrate an existing Zone.js based Angular application toward zoneless change detection safely? Angular › Zoneless Change Detection & Zone.jsAngularZoneless Change Detection & Zone.jsAdvanced
213What deployment strategies help minimize downtime and risk when releasing a new version of a Next.js application? Next.js › DeploymentNext.jsDeploymentAdvanced
214How would you set up a comprehensive error handling strategy across a large Next.js application with many route segments? Next.js › Error Handling & Not Found PagesNext.jsError Handling & Not Found PagesAdvanced
215What are best practices for managing translation content at scale in a large, multilingual Next.js application? Next.js › Internationalization (i18n) in Next.jsNext.jsInternationalization (i18n) in Next.jsAdvanced
216What steps should you take to keep dependencies and the Next.js framework itself secure over time? Next.js › Security Best Practices in Next.jsNext.jsSecurity Best Practices in Next.jsAdvanced
217How do you set up strict TypeScript settings for a Next.js project, and what benefits does this provide for a growing codebase? Next.js › TypeScript with Next.jsNext.jsTypeScript with Next.jsAdvanced
218How does binding a closure to a specific object or class using bindTo or Closure::bind allow it to access private properties and methods it otherwise could not? PHP › Closures & Anonymous FunctionsPHPClosures & Anonymous FunctionsAdvanced
219How can Composer scripts automate common development tasks, such as running tests or clearing a cache, directly as part of the Composer workflow? PHP › ComposerPHPComposerAdvanced
220How can overuse of a service container, sometimes called the service locator anti pattern, actually harm code quality despite the container itself being a useful tool? PHP › Dependency Injection & Service ContainersPHPDependency Injection & Service ContainersAdvanced
221How does the Repository pattern abstract data access logic away from an application's business logic, and what benefits does this separation provide? PHP › Design Patterns in PHPPHPDesign Patterns in PHPAdvanced
222How should a team design their Docker based deployment pipeline for a PHP application to ensure the exact same tested image is what actually reaches production? PHP › PHP with DockerPHPPHP with DockerAdvanced
223How can integrating a static analysis tool into a continuous integration pipeline help enforce consistent code quality across an entire team, and what are common strategies for managing false positives? PHP › Static Analysis (PHPStan & Psalm)PHPStatic Analysis (PHPStan & Psalm)Advanced
224How do custom PHPStan or Psalm rules and extensions let a team enforce their own project specific coding standards and catch domain specific mistakes beyond the tool's built in checks? PHP › Static Analysis (PHPStan & Psalm)PHPStatic Analysis (PHPStan & Psalm)Advanced
225How can build caching within a CI/CD pipeline significantly reduce the total time needed to complete each individual pipeline run for a Flutter project? Flutter › CI/CD Pipelines for Flutter AppsFlutterCI/CD Pipelines for Flutter AppsAdvanced
226How can you build a genuinely themeable custom widget library that automatically adapts to an app's central theme, rather than hardcoding fixed colors and styles directly within each individual custom widget? Flutter › Custom Widgets & Reusable ComponentsFlutterCustom Widgets & Reusable ComponentsAdvanced
227How does migrating a large, existing pre null safety Dart or Flutter codebase to properly support null safety typically work, and what tools does Dart provide to help automate a significant portion of that migration process? Flutter › Dart Null SafetyFlutterDart Null SafetyAdvanced
228How should an architecture properly enforce module boundaries between different features, ensuring one feature genuinely does not develop an unwanted, tightly coupled direct dependency on another entirely separate feature's own specific internal implementation details? Flutter › Flutter App Architecture with Modular Feature FoldersFlutterFlutter App Architecture with Modular Feature FoldersAdvanced
229How do you properly and effectively test Riverpod providers in isolation, including overriding a specific provider's own dependency with a controlled mock implementation specifically for a given unit test? Flutter › Flutter Riverpod Code Generation & ProvidersFlutterFlutter Riverpod Code Generation & ProvidersAdvanced
230How can code generation tools such as graphql_codegen automatically generate strongly typed Dart classes directly from your existing GraphQL schema and queries, meaningfully improving overall type safety compared to manually working with raw dynamic JSON responses? Flutter › GraphQL in FlutterFlutterGraphQL in FlutterAdvanced
231How can you properly test that your app's own localization genuinely and correctly works across all of its supported languages, including verifying that longer translated text does not actually genuinely break your existing carefully designed layouts? Flutter › Internationalization & Localization (i18n)FlutterInternationalization & Localization (i18n)Advanced
232How do you properly test navigation logic, including verifying that a specific given route correctly and reliably navigates to its own expected screen and that a redirect properly and correctly occurs when genuinely expected? Flutter › Named Routes & Navigator 2.0 (Router API)FlutterNamed Routes & Navigator 2.0 (Router API)Advanced
233How can you properly implement Pigeon, Flutter's own official type safe code generation tool, to eliminate genuinely error prone manual string based method names and reduce the genuine risk of a mismatch between your Dart and native platform channel code? Flutter › Platform Channels (Native Android & iOS Integration)FlutterPlatform Channels (Native Android & iOS Integration)Advanced
234How can you properly set up an automated CI/CD pipeline specifically to automatically test, version, and publish a given package to pub.dev whenever a genuinely new release is actually properly ready? Flutter › Publishing Packages on pub.devFlutterPublishing Packages on pub.devAdvanced
235How do you properly test a BLoC or Cubit thoroughly using the bloc_test package, verifying it emits the genuinely correct expected sequence of states in direct response to a given specific series of dispatched events? Flutter › State Management with BLoC & CubitFlutterState Management with BLoC & CubitAdvanced
236How do you properly test a GetX controller in isolation, given its own reliance on GetX's own particular static dependency injection system rather than a considerably more explicit constructor based approach? Flutter › State Management with GetXFlutterState Management with GetXAdvanced
237How do you properly test a widget that genuinely depends on Provider, using a properly mocked or fake provided value to reliably verify that widget's own behavior in complete isolation? Flutter › State Management with ProviderFlutterState Management with ProviderAdvanced