All fields

“Testing & Tooling” in Information Technology

14 questions across 2 technologies.

Information Technology

14 questions in 2 technologies

#QuestionTechnologyTopicLevel
1What is snapshot testing and what's a common pitfall with it? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
2How do you pause code execution at a specific line using the browser DevTools? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingBeginner
3What is console.table() useful for? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingBeginner
4What is a unit test and what makes a good one? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingBeginner
5How does Jest's mocking help isolate the code under test? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingIntermediate
6What is code coverage and why isn't 100% coverage the same as bug-free code? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingIntermediate
7How does source mapping help when debugging minified or transpiled code? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingIntermediate
8How do you write an effective test for asynchronous code? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
9How does the Performance panel in DevTools help diagnose a janky UI? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
10What's the difference between end-to-end (E2E) tests and unit tests, and when do you use each? JavaScript › Debugging, Testing & ToolingJavaScriptDebugging, Testing & ToolingAdvanced
11What is a memory leak in JavaScript, given that it has automatic garbage collection? JavaScript › Memory Management & Garbage CollectionJavaScriptMemory Management & Garbage CollectionBeginner
12How would you use Chrome DevTools' heap snapshot comparison to find a leak's source? JavaScript › Memory Management & Garbage CollectionJavaScriptMemory Management & Garbage CollectionAdvanced
13What is XMLHttpRequest and why would you still use it over fetch() today? JavaScript › Networking: Fetch, XHR, WebSockets & CORSJavaScriptNetworking: Fetch, XHR, WebSockets & CORSAdvanced
14How 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