Test script
A test script is a predefined sequence of written or executable instructions that performs software tests and checks behavior against expected results.
100 SQL Server Mistakes and How to Avoid Them
A test script is executable test code that invokes the functionality under test with specified inputs.
- How it is used
- Executes a SQL Server code module inside a unit test with specified parameter values.
- How deep it goes
- Explains execution, parameter entry, result conditions, and separation from setup and cleanup scripts.
- Examples
- Uses CampaignID 27587, Budget 10, Detailed 1, scalar checks, and a 42-row result-set requirement.
- What you can do after
- Apply it via Visual Studio to invoke code and validate scalar outputs and result-set row counts.
Read how 100 SQL Server Mistakes and How to Avoid Them explains test script →
Software Testing with Generative AI
A predefined sequence of instructions for executing a software test and checking its expected outcome.
- How it is used
- Uses predefined checks to confirm expected outcomes and detect unexpected product changes.
- How deep it goes
- Defines the role and limitations of scripts but stops short of specifying scripting syntax or execution procedures.
- Examples
- Uses human- or machine-followed instructions, expected outcomes, and an imagination/implementation model of testing activities.
- What you can do after
- Evaluate where scripted checks help and where broader testing activities are needed to address additional risks.
Read how Software Testing with Generative AI explains test script →
Related concepts
- language modelproduced by · A language model is a computational model that represents patterns in linguistic tokens to estimate their probabilities and predict or generate sequences of them.
- Gherkincontrasts with · Gherkin is a structured, human-readable language for expressing software behavior as features, scenarios, and steps such as Given, When, and Then.
- conversational aiuses · Conversational AI is artificial intelligence that enables software systems to interact with users through natural-language dialogue.
- botuses · A bot is an automated software agent that performs tasks or interacts with users, services, or systems according to programmed instructions or goals.
- testused by · A test is a procedure or check that evaluates behavior using specified inputs or evidence against expected results or criteria.
These guides are generated from the text of Manning books by Manning's knowledge graph and link to the sections they draw on. The full books are available on liveBook and at manning.com.

