http://tvtropes.org/pmwiki/pub/images/adventure_comics_247_shrunk.jpg
[[caption-width:345:Superboy rejected -- as a SecretTestOfCharacter]]
->'''Dave''':I wanted to let you know that I understand now that what you put me through today was a test.\\
'''Jimmy''': Could be. Or, could be I'm just making it all up as I go along.\\
'''Dave''': Which is it?\\
'''Jimmy''': You'll never know.
-->''NewsRadio''

The character is undertaking a challenge of courage, strength and/or skill for some important prize. However, at a critical moment, the hero is confronted with doing something that is [[DirtyBusiness morally unacceptable]] (or not -- this is a fairly common victim of FridgeLogic). Despite being warned about a forfeit if the reprehensible act is not done, the hero reluctantly stands by the decision and accepts that the challenge is lost, expecting no credit for the deed, [[WhatYouAreInTheDark often not expecting anyone to know]].

However, the hero is then told that that [[YouWereTryingTooHard refusal is exactly what was needed to triumph]]. It was actually [[OnlyTheWorthyMayPass a test of character]], and the hero has passed with flying colors.

Oddly enough, the hero seldom rejects the tester, [[KeepTheReward reward]], or whole situation, on the grounds that it was an underhanded trick -- and this not only when the other character was a {{Mentor}}, [[ThresholdGuardians Threshold Guardian]], or otherwise an authority figure, but among equals. (Such as a FidelityTest.)

Watch for ExactWords. When a character is told that the prize depends on the "results" or "outcome" rather than the success, it will be phrased in a manner such that no one would, at first glance, take it for anything except success, but the character saying it can point out that he is doing exactly what he said. (If more than one character tried, and one succeeded in the ostensible goal, expect [[TheResenter bitterness]].)

Sometimes, instead of refusing or doing the act, the hero will TakeAThirdOption.

Sometimes this is seen in the context of a TrainingAccident. Often goes hand-in-hand with WriterOnBoard. A reversal of ThresholdGuardians. The HouseHiringHeuristic operates on a similar principle.

Contrast IfYoureSoEvilEatThisKitten, which is this trope applied to [[KickTheDog villainous behavior]]. HonestAxe and TheKobayashiMaru are specific types of tests.
----
!!Examples

[[foldercontrol]]

[[folder: Anime and Manga ]]

* ''{{Naruto}}'' has one of these in the form of the first part of the chuunin exam. An extremely difficult written exam is given. Before the final question, supposedly more difficult than any of the rest, is revealed, the contestants are given a chance to quit the exam with the option to try again later. The proctor says that for anyone who gets it right, the rest of the test they just took is null, and they pass. Get it wrong, and you fail and can never take the test again, dooming yourself to a life as the lowest rank of ninja. If one ninja decides not to take the question, however, his whole squad fails. Many forfeit and leave, but the protagonist stays even though he couldn't answer even one of the other questions. It turns out that not giving up (along with putting your team's interest before your own) is the {{Aesop}}, and everyone who didn't walk out passes.
* That's not the only ''Naruto'' variant. In the Tea Country arc, we learn that Idate Morino (the brother of the proctor for the exam Naruto took) once took a different version: one where the team learned that right before the tenth question, the person on their team with the lowest grade would never be allowed to be a ninja again. In that case, everyone who stayed ''failed'', because the inherent {{Aesop}} was to not sacrifice your team's future over your own.
*''YuYuHakusho'': Yusuke's mentor Genkai tells him that the only way he can master her ultimate technique, which he absolutely needs to do if he wants to survive the coming battles, is by killing her. Yusuke spends some time agonizing about it, then tells Genkai that he can't do it. It turns out he did exactly the correct thing, because by refusing to kill her he proved that he was a moral person ''and'' by not rejecting her request immediately proved he wasn't too wimpy to try to master it.
* Also appears during an earlier episode of the series, when Yusuke is a ghost. His girlfriend Keiko rushes into a fire to save him, and he is given the choice to throw his McGuffin into the fire and save her from almost-certain death, but in exchange, said McGuffin wouldn't be able to perform the task for which it was intended; namely bringing him back to life. Yusuke does save Keiko, and at the end, Koenma reveals that if he hadn't done that, the McGuffin would have eaten him instead of helping him. Since he saved Keiko, which was the real solution to the test, Koenma decides to resurrect Yusuke personally as a reward. And later in the series, the McGuffin turns out to still be intact and hatches, revealing [[spoiler: a cute, little mascot-like demon named Puu]]
* In the manga, Yusuke sacrifices all his accumulated "virtue" to save Keiko. Koenma comes into contact with Yusuke's virtues and determines that Yusuke has both good and bad qualities and above all else, acts without thinking. He decides that as it's too difficult to pin down Yusuke's character while he's a ghost, he should let Yusuke back into his body.
* In ''{{Planetes}}'', the trope is {{subverted}} when Hachimaki is trying to get on the ''Von Braun's'' crew, and has to repair a simulated life support failure in a large tank of water as part of a test. Several other applicants are doing the test simultaneously, and Werner Locksmith, who is in charge of the Von Braun mission, lied to them that if a dangerous accident occurred, no divers would come in to save them. When one of them accidentally cuts her air tube and starts losing air and sinking, Locksmith doesn't send in the divers straight away, because he wants to see how Hachimaki would react. [[hottip:spoiler - click to reveal:While the other applicants swam down to save her, Hachimaki simply continued with the test. He passes while the others all fail from running out of time, and Locksmith reveals that he is impressed by Hachimaki]].
* Subverted in ''MahouSenseiNegima'': Evangeline, something of a NobleDemon, decides that [[{{Samurai}} Setsuna]] is becoming "too soft", especially in the event that something like her [[MyGreatestFailure past failure]] in [[FailureKnight protecting]] her [[BodyGuardCrush charge]] Konoka ever happened again -- she may not even be able to ShootTheDog if she was needed to. So Eva tries to force Setsuna to choose between her "[[TheUnfettered sword]] or [[EarnYourHappyEnding happiness]]". Setsuna, however, takes it a different way...
-->'''Setsuna''': The choices you gave me -- it wasn't that I needed strength to defeat you, but what I did need to break through was to truly '''realize''' the power of my own will! That was the answer, wasn't it?!
-->'''Eva''': ''injured'' [[SureLetsGoWithThat Nhn? Dunno... I s'ppose...]]
* Manjyome's ADayInTheLimelight episode of ''{{Yu-Gi-Oh GX}}'' -- he is told at the end that the abridged TheHerosJourney he's just undergone was more of a test to BreakTheHaughty than of his dueling skills.
* In ''BlackCat'', after [[spoiler:Kyoko does her HeelFaceTurn]], Sephiria offers her either death or a position among Chronos' Erasers. [[spoiler:Kyoko refuses, and Sephiria reveals that it was all a test of her vow to Train to [[TechnicalPacifist never kill again]].]]
* In the ''{{Tsukihime}}'' manga, [[TheHunter Ciel]] tests whether Akiha has it in her to be a murderer by... threatening her [[BerserkButton and her brother]] and then fighting her to the death. What Akiha doesn't know is that Ciel [[NighInvulnerable cannot be (permanently) killed/injured]], so Ciel is free to test Akiha's power with impunity. She also tries this in the original VisualNovel with Shiki, who is afraid that [[EnemyWithin he is the murderer who has been stalking the streets in his dreams]]. Shiki has [[EvilEye Mystic Eyes of Death Perception]]. Depending on your decision, [[DeaderThanDead things don't go quite as planned]].
* In ''{{Inuyasha}}'', the title character is trying to get a new ability for his sword from a demon in the underworld. His friends are in danger, and even though the demon warns him that he'll never be able to get the upgrade if he turns away to help his friends, he does. If you've already read this far, you know what happened next.
** Inuyasha's AloofBigBrother Sesshoumaru goes through a similar SecretTestOfCharacter when trying to perfect ''his'' sword. When the effort results in the death of his MoralityPet, Rin, he declares that a power which comes at the cost of her life is pointless, a decision which prompts the sword to reward him by [[EmpathicWeapon upgrading itself]]. ([[DeathIsCheap Sesshoumaru's mother then revives Rin for him.]])
*** And even before then, it happened. Tenseiga was strictly a revival sword and Sesshomaru couldn't use it as a weapon for about 400 chapters-until he put his own life in danger and purposely broke Tokijin, his only weapon at the time just because Moryoumaru said some bad things about Kagura. Afterwards Inuyasha ends up having to attack Moryoumaru to give Sesshomaru a chance to make it out alive. This was actually the first time Tenseiga "rewarded" him with an upgrade-later Totosai comes to him and says that Tenseiga has confirmed that his heart was moved in a way it had never been before (he immediately knows it's referring to Kagura), and is now ready to weild it as a fighting sword.
** Kouga experiences the exact same test as the first example while trying to get the Goraishi, an ancestral wolf tribe weapon.
* The movie ''They Were 11'' features several people taking an entrance exam for Cosmo Academy: surviving for a set number of days on a derelict spaceship. Upon arriving, they find that instead of the expected 10 people, there are 11 of them, and after several unexplained incidents they suspect one of them to be a saboteur. [[hottip:spoiler - click to reveal: Turns out the 11th person was an instructor who had been deliberately placed to cause trouble as a test of character. Several incidents, however, were not planned, and the entrants are commended for still attempting to last as long as possible in spite of this.]]
* In ''MagicKnightRayearth'', every time the PowerTrio met up with a Masshin, the girl who should interact with him is taken away to speak to the spirit of the HumongousMecha directly. [[hottip:spoiler - click to reveal: As this happens, the other girls are attacked and quickly subdued. The third one wants to help but the Masshin says she must stay with him and proceed with the awakening ritual ''even if the others die'', or she will NOT succeed and the whole mission will crumble. Inevitably, the girl chooses her friends over the mecha... and not only he lets her go help them, but congratules her because had she chosen to stay, she wouldn't be able to get the Masshin by sacrificing her companions, agreeing to be bound to her.]]
* Just about every Dark Game in the ''[[YuGiOh Yu-Gi-Oh!]]'' {{manga}} was an example of this before it became focused on Duel Monsters. When Yami Yugi emerged and took over Yugi's body because someone was bullying him or his friends, he'd declare a Dark Game on his tormentor. The games were usually made up on the spot and were rather simple affairs, but the catch was if the opponent tried to cheat in any way, the game would end and he'd be subjected to a "penalty game" (which is less of a game and more of a prolonged torture). Of course, in this case, his opponents would almost always cheat and end up caught on fire, seeing the world as pixels, thinking trash was money, and other gross fates.
* After getting beat ''badly'' early on in ''GundamX'', Garrod Ran suffers [[HeroicBSOD from a bit of a funk]] especially since his partner Tifa Addil had to [[BarrierMaiden give herself up to the enemy for him to be spared]]. TheCaptain, Jamil Neat, takes him out to a frozen lake and throws the Gundam X's controller in the middle of it before leaving Garrod there as a "last chance" to see if he really wanted it. The twist comes when [[hottip:spoiler - click to reveal: getting it wasn't that hard, it just took a while. Getting ''back'', however, required Garrod to run at full speed when the ice started breaking. The lesson was Garrod had to accept past mistakes and not keep him from running forward with all his strength, fitting since the previous arc dealt with him grappling with his inability to stick around with people after he would make blunders.]]
* During the Neo-{{Nazi}} {{arc}} in ''BlackLagoon'', it turns out the Lagoon Company's client hired them as a secret test of character for a group of Neo-Nazis. They failed.
** It was more a test of ''power'' than of character- the Nazi's sponsor (and Lagoon Company's employer) wasn't interested in supporting a group of wannabes who couldn't even beat a mere black man and chinese woman.
* Done in a strange way in ''OnePiece''. In the Jaya arc, Luffy and Zoro help an apparently feeble and sickly old man, Doc Q, onto his equally feeble and sickly horse. As thanks, he offers some apples, which [[IdiotHero Luffy]] eagerly accepted. It turned out some of the apples contained detonators which would blow up once bitten into. Luckily Luffy's apple wasn't a "bad apple." In reality, the doctor had been testing Luffy's luck.
** A more traditional test comes in the Amazon Lily arc where [[hottip:spoiler - click to reveal:after Luffy's {{Berserk Button}} was pushed when the amazons that helped him were turned to stone by [[GodSaveUsFromTheQueen Boa Hancock]], he proved to be a formidable opponent and defeated the champions of Amazon Lily by almost revealing their darkest secrets, the empress offers him a choice: he may either take a ship and leave the island to reunite with his nakama or she will release Luffy's friends from her powers. He immediately chooses the latter and even bows in gratitude before her. This convinces her to reveal her and her sisters' {{Dark And Troubled Past}} and the [[FreudianExcuse reason for their cruel behavior]], earning her respect/love for Luffy and allowing him the use of a ship.]]
* In ''DeathNote'', L does this to Aizawa, to see if he'll go back to the police or not. Watari renders it useless, though.
* In ''Detective Academy Q'', during entrance exams Dan Morihiko pretends to need rescue due to being trapped on a rock ledge and injured. [[hottip:spoiler - click to reveal: Kyu finds out that he only pretends and ignores it, alas comes back later when emptying dam puts Dan in real danger (Kyu had deducted that Dan was crippled and unable to walk, having seen that his shoes were pretty much new despite his explorer gear and clothes), which causes him to come late for the last part of the exam. He still passes.]]
* ''MuhyoAndRoji'' has some for each of the titular characters. In Muhyo's case, he fights against the Hades Lord, but can't quite win. He refuses to give up and manages to convince Yoichi and Biko to do the same, impressing the Hades Lord, who allows him to make a contract with him in exchange for controlling his fear, noting that he had killed the others who had tried to summon him and fled. Roji gets one in the competition against Goryo and Ebisu, as Muhyo holds back, wanting to see what Roji can do in a situation like this- but Roji still hasn't gotten over his feelings of inadequacy compared to Muhyo, and is thus put on leave and sent to train at the Magical Law Society. At the end, Page offers him a position as assistant with the promise of helping him improve his skills, but Roji refuses, stating that he wishes to work with Muhyo, impressing Page with his "kind, unwavering heart."
* ''{{Monster}}'': [[spoiler: Nina Fortner/Anna Liebert was supposed to ''forgive'' him.]]
* Optimus Prime stages an impromptu one in ''TransformersEnergon'' when the other Autobots decide to have a race. With Hotshot and Ironhide neck and neck on the home stretch, Optimus suddenly jumps into the middle of the path and challenges them to get past him. Eventually, Ironhide grapples with Optimus and tells Hotshot to go on and win - at which point Optimus tells him that he is the real winner, because he has learned that a commander must put his troops ahead of his own glory. Oh, and as for who crossed the finish line first? [[spoiler:[[{{Zmelik}} Misha and Arcee]].]]

[[/folder]]

[[folder: Ballads ]]

* In ''[[http://www.bartleby.com/243/69.html The Nut-Brown Maid]]'', her lover tells her that he's been outlawed and outlines his perilous life ahead; she persists in saying that she will go with him, "For, in my mind, of all mankind/I love but you alone."; finally, he reveals that he made it up and is, in fact, [[BlueBlood an earl's son]].
* In ChildBallad ''[[http://www.sacred-texts.com/neu/eng/child/ch263.htm The New-Slain Knight]]'', a man tells a woman of a dead knight; when she complains that her child will be fatherless, he offers to marry her, and she rejects him; he reveals that he is her love.
* In ChildBallad ''[[http://www.sacred-texts.com/neu/eng/child/ch105.htm The Bailiff’s Daughter of Islington]]'', she tells her love that she is dead to test his love. He declares he will go into exile to avoid the place, and she reveals the truth.
* The English ballad "[[http://en.wikipedia.org/wiki/Sovay Sovay]]" tells of a highway robber who demands, at gunpoint, a man's ring; the man refuses, because it was a gift from his fiancee, and is surprised when the robber just leaves. The next day, the fiancee reveals that she (in [[SweetPollyOliver disguise]]) was the robber and would have [[DisproportionateRetribution shot him]] if he'd handed over the ring.


[[/folder]]

[[folder: Comic Books ]]

* Goodness (i.e. the future Granny Goodness) took on the Nazi version of the trope (see RealLife section below), in a [[TheDCU DC Universe]] flashback story detailing her training as a member of Darkseid's elite. In an added twist, she initially kills the ''officer'' who orders her to kill the dog, and attempts to justify the decision later by claiming the lethally trained attack dog was a more valuable military resource than the officer.
** [[EvilOverlord Darkseid]] initially seems to consider her justification worthwhile. He then tests it [[spoiler: by having the dog attack Goodness [[MagnificentBastard in order to test which of]] ''[[MagnificentBastard them]]'' [[MagnificentBastard was the more valuable military asset]]. Obviously we know who wins.]]
** It gets better [[spoiler: she knew Darkseid would do this]]
* One story in SonicTheComic had Tails meet up with an anthromorphic unicorn who grants him a wish for saving him from [[{{Mooks}} the Badniks]]. True to [[KidHero his nature]] Tails wish is for Mobius to be free from Robotnik's rule. The Unicorn then takes Tails to a room looking down on Robotnik as he drives along in a parade. [[WhatYouAreInTheDark Tails is given a gun and told that if he shoots Robotnik Mobius will be free.]] Being [[KnightInShiningArmour who he is]] Tails throws the gun down and yells that its wrong. The unicorn tells Tails that he made the right choice, and as long as he follows his good nature, one day, his wish will come true.
* The first appearance of the {{Legion of Superheroes}} was the test they gave to Superboy to see if he was fit. He failed all three challenges they put to him, but when he did not make excuses, they explained that their history clearly showed his ''powers'' were strong enough, they had actually tested his character by sabotaging the trials.
* On the day of his [[DangerousSixteenthBirthday sixteenth birthday]], Tim Drake/Robin III received a message from [[BadFuture the future]] warning him that one of the members of the [[BadassFamily Batfamily]] had turned into a KnightTemplar and giving him the task to [[SetRightWhatOnceWentWrong prevent it]], driving Tim to isolated paranoia for several weeks. Then [[spoiler:it turned out it was all a test orchestrated by Batman, who wanted Tim to be prepared and ready for such an eventuality. Tim was not amused and even [[TenMinuteRetirement quit being Robin]], until he came to terms with [[IDidWhatIHadToDo Batman's actions]].]]
* In one issue of the ''StarTrekTNG'' comics, the tyrant Zed puts Picard in a situation where the only way to save his crew is to kill Zed, who's behind a force field and armed. This is partly a test of Picard's courage, which he passes by charging Zed, having correctly guessed that the force field is one-way. Picard now has Zed's gun, but this too is a test, as [[ShootYourMate it isn't charged]]. Zed wants to prove that Picard is willing to kill and thus no better than he. A debatable point, but Picard isn't fooled -- and he uses the "useless" weapon to set up a test of his own.

[[/folder]]

[[folder: Commercials ]]

* Yes, there is an example from a commercial. In one of the Miller Lite "More Taste League" ads, a man orders a Miller Lite, but the bartender says they're out. He then orders "just any light", to which the bartender responds with "How about a tall, frosty glass of ''busted?''" and turns out to be the Commissioner of the More Taste League in disguise.
* There is a second one where a groom is flirted with by the bride's sister, and offered a "once before you're married" ride. He leaves the house and goes to his car before the rest of the family comes out to applaud his ethics for leaving the way he was. The coda of the ad reveals that he keeps his condoms in the glove-compartment.

[[/folder]]

[[folder: Fairy Tales ]]

* In [[http://www.surlalunefairytales.com/pentamerone/14serpent1911.html The Serpent]] and [[http://www.surlalunefairytales.com/pentamerone/11sisters1911.html The Three Sisters]], the king has [[EngagementChallenge promised that who cures the prince may marry him]]. He is cured by a woman but refuses because he is already married. The delighted woman reveals that she is his wife.
* In [[http://www.surlalunefairytales.com/bearskin/index.html Bearskin]], the [[YoungestChildWins youngest daughter]] agrees to redeem her father's promise and marry a filthy, hairy man wearing a bearskin without knowing he will be able to take it off and clean up once his DealWithTheDevil is done. Her sisters, who refused him, are so envious they commit suicide.
* In [[http://www.surlalunefairytales.com/diamondstoads/index.html Diamonds and Toads]], the [[YoungestChildWins younger daughter]] is willing to give an old woman (a disguised Fairy) a drink from the well; even warned, her older sister is unable to be polite.
* In [[http://www.sacred-texts.com/neu/celt/pt1/pt117.htm The Girl and the Dead Man]], all three girls are offered the choice between a whole bannock and their mother's curse, or half and their mother's blessing; the older two opt for the curse, and [[YoungestChildWins the youngest]] for the blessing, and only the last succeeds.
* In [[http://www.mythfolklore.net/andrewlang/065.htm Jesper Who Herded Hares]], Jesper's older brothers lie about the pearls they are carrying and find they are transformed into what they claimed them to be; Jesper tells the truth and is given a magic whistle.
* In [[http://www.surlalunefairytales.com/authors/grimms/96threelittlebirds.html The Three Little Birds]], two brothers tell a fishing woman that she won't catch fish where she is, and end up failing their quests; then, their sister tells her "May God help you with your fishing," and receives a magic wand and advice.

[[/folder]]

[[folder: Film ]]

* In ''Willy Wonka and the Chocolate Factory'', a purported competitor offering to buy secrets from the children who took the factory tour, was actually a secret test to find Wonka's successor -- the person who wouldn't reveal the secrets in the fact of temptation.
** Of course, in the original novel ''CharlieAndTheChocolateFactory'', the tour ''itself'' was the secret test of character.
** In the movie the tour was also a SecretTestOfCharacter, which ''all'' of the children failed, including Charlie (he drank Fizzy Lifting Drinks after being told not to).
** It's possible that the fake offers to buy the Everlasting Gobstoppers had their practical side as well. If the child decided to sell the candy, it would go back to Mr. Wonka instead of one of his competitors. Unless, of course, the child or their parents got the idea of auctioning it off to the highest bidder instead...
* In ''[[PansLabyrinth Pan's Labyrinth]]'', the final part of a trial needed for Ophelia to get to her magical kingdom is a drop of blood from an innocent ([[spoiler:her newborn brother]]). Ophelia steadfastly refuses, which itself completes the test. This is WriterOnBoard to some degree, as this one bears quite a bit of influence from the ideas Guillermo del Toro learned at his high school, the Instituto de Ciencias.
* In the opening scene of ''In the Line of Fire'', the undercover Clint Eastwood is told to shoot another agent, who is actually his new partner. He does it and it turns out the gun is empty. Later the partner says he's figured out that Eastwood could tell the gun was empty from its weight. Eastwood replies that there still could have been a bullet in the chamber; that's how far he's willing to go. Though that might be just Eastwood's sense of humor.
* ''MenInBlack'': The sequence of tests given to the various MIB candidates requires the subject to think creatively and counter their own intuitions. One test puts them in a room with a group of chairs (presumably bolted to the floor) and one table (which is not). They are then each given a written exam and a single pencil with which to answer it, and they spend a while trying to figure out how to even successfully write on the flimsy paper. Jay passes the real test by dragging the table over to his chair.
---> [[CrowningMomentOfAwesome "Or do I owe little Suzie an apology?"]]
* In ''FightClub'', Project Mayhem selects for stubbornness: new applicants who come to Tyler's house are yelled at for being too fat, too old, too young [[CrowningMomentOfFunny or too blonde]] and told to go away. If they refuse to leave for three days, ignoring the abuse and with no food, shelter or encouragement, they're allowed in. (The narrator has been known to bend the rules on the 'encouragement' part, though.)
* In ''{{SAW III}}'', Jigsaw seems to set up one of his usual traps, involving Lynn Denlon keeping him alive in order for Jeff Reinhold to finish his Unsecret Test of Character. [[spoiler:However, Jigsaw was actually testing his apprentice Amanda throughout the film about her will to keep someone alive. Amanda was blind enough to kill Lynn even after her 'test' was over, thus failing and earning her own death at the hands of Lynn's husband Jeff. Nice going Amanda.]]
* Used hilariously in I Spy, where the civilian partner Kelly Robinson (Eddie Murphy) is "kidnapped" and is taken somewhere, where they attempt to get information from him by threatening to cut off his you-know-what.He panics and gives all the info he can rmember on his partner, then the illusion is dropped and he is complimented on giving vague info and acting well.
* ''Star Trek II: The Wrath of Khan'' begins with a simulated crew training exercise. The crew receives a distress signal from the KobayashiMaru, which is trapped in the Klingon Neutral Zone. When they go in to rescue the Kobayashi Maru, the distress signal turns out to be a trap and the crew is quickly overwhelmed by Klingon K't'inga-class battlecruisers. When Mr. Saavik complains that there was no way to win the simulation, Admiral Kirk replies, "A no-win scenario is something every starship captain might have to face."
* The backstory of the Disney version of ''Beauty and the Beast'' involves a rare failure of a Secret Test of Character: the prince was turned into a beast as punishment for refusing to shelter an old beggar woman (actually a beautiful sorceress in disguise) on a cold night.

[[/folder]]

[[folder: Literature ]]

* OlderThanDirt: TheBible is ''full'' of these.
* In TerryPratchett's ''{{Discworld}}'' novel ''[[Discworld/LordsAndLadies Lords & Ladies]]'', an arrogant young witch challenges Granny Weatherwax to a contest in staring at the sun. When Nanny Ogg's grandson runs into the magic circle controlling their power and cries out, Granny looks away from the sun to help him, and Nanny declares that this is a [[ExactWords test of witchcraft, not power]], and a true witch ''would'' drop a silly contest to help a child. Afterwards, it's revealed that Nanny waved a bag of sweets to lure Pewsey, knowing he wouldn't really be hurt. Subverted, in that this wasn't ''meant'' to be how the test worked, but you can't argue with public acclaim (and indeed, the original challenge was meant to discredit Granny Weatherwax).
** Granny Weatherwax is a fan of these, as you'd expect from a ''{{Discworld}}'' witch that honestly believes ''everything'' is a test. These range from being as simple and obvious as asking what you'd take out of your house during a fire -- another witch answering that she'd rescue her [[KillerRabbit cat that could escape itself]] to appear kindly -- to a complex XanatosGambit to see whether a witch was worth her training by getting a rival placed above her.
* In ''HarryPotter and the Goblet of Fire'', there is a race to rescue hostages at the bottom of a lake with one hostage per contestant. Harry sacrifices his place in the lead to make sure every hostage gets rescued, even rescuing an extra one personally. The judges, while it wasn't what they were looking for (and while the hostages weren't actually in any ''danger''), gave him points for "moral fiber".
* The famous [[JudgmentOfSolomon Solomon "splitting the baby" story]] from TheBible, making this OlderThanFeudalism.
* RobertAHeinlein's ''Space Cadet''. Matt Dodson has to pass a series of tests to get into the Space Patrol. One of them requires him to stand over a milk bottle and drop beans into the bottle with his eyes closed. He ends up with only one bean in his bottle and sadly turns it in. Matt asks the examiner what would keep people from cheating by peeking. The examiner says "Nothing at all." Then the book says about Matt: "It did not occur to him that he might not know what was being tested."
** Another one of the entrance tests could only be passed by refusing to take it at all. The (long and complicated) instructions were deliberately written so as to be ''impossible'' to actually follow, but you had to be paying very close attention to notice.
** Heinlein likes this one. In ''Farmer In The Sky'', the protagonist is kept waiting and otherwise disrespected to see his reaction. Some of his other stories also have people act annoying to see if the person being tested can keep their temper. In ''Space Jockey'', spaceship pilots are monitored to make sure they are psychologically stable. The rocket pilot is annoyed by a "stupid tourist" who observes him.
* Subverted in ''[[LordPeterWimsey Strong Poison]]'' by [=~Dorothy L. Sayers~=]. Harriet Vane was convinced to go against her principles of no sex before marriage (in the 1920s) to have a relationship with a man who said that marriage was against his principles (why his principles were more important than hers, despite the fact that she bore all the costs and he had all the advantages was not made clear). When he did offer to marry her, saying that the sex before marriage was a test of her devotion, she immediately dumped him for making her betray her principles and treating marriage as 'a bad conduct prize'.
* In RobertAntonWilson's ''Schrodinger's Cat'' novels, a story circulates about Vlad the Impaler. Vlad invited to dinner two monks who had been traveling through Vlad's principality of Wallachia. Vlad habitually punished the lightest crime with impalement. He asked the monks what his reputation really was among the people. One monk replied with what he thought Vlad wanted to hear, that the people saw him as a firm but just prince; the other replied with the truth, that the people thought Vlad was a sadistic tyrant. Vlad then ordered ''one'' of the monks impaled, but the story does not say which one. This is presented as a test of the ''listener's'' character: Libertarians or persons generally suspicious of authority assume Vlad must have executed the truth-teller, authoritarians or persons who tend to have faith in authorities assume he must have executed the liar. What Wilson never mentions is that the story is in fact an inversion of reality; Vlad actually did have a very good reputation among the common people, who appreciated that his ferocity came down hardest on the predatory nobles.
* In Paulo Coelho's, ''TheAlchemist'', the boy seeking his treasure is confronted by a man on a white horse, the Alchemist. The Alchemist threatens him and asks him why he read the omens of the flight of the birds, and places the tip of his sword towards the boy's head. When the boy answers truthfully, the Alchemist removes the sword point from his head and says "I had to test your courage."
* In TheCanterburyTales, "The Clerk's Tale" is the retelling of a SecretTestOfCharacter that a man puts his wife through, including claiming to have killed both of their children. The clerk himself [[LampshadeHanging lampshades]] this by pointing out it's a [[FamilyUnfriendlyAesop very bad Aesop.]]
* In ''TheMysteriousBenedictSociety,'' kids are told to bring one, only one, Number Two pencil to take the big test, or automatically fail. Outside the test building is a girl begging for help because she dropped her pencil down a sewer grate. Several kids pass the test of character in creative ways, including a girl who reaches into her BagOfHolding for assorted items that enable her to fish the pencil out of the grate, and the protagonist, who [[spoiler: breaks his pencil and gives the girl half]].
* There is a story where the final road test to get a driver's license takes place in an elaborate simulation. During the test, no matter how well the student drives, even if he makes no mistakes, something ''will'' go wrong and he ''will'' kill his family. If he passes the test in terms of skill, he's offered his license after exiting the simulation. Accepting the license bars him from driving forever. The [[FridgeLogic problems]] with this should be fairly obvious.
* In ''RomanceOfTheThreeKingdoms'', a rebellion occured in Cao Cao's capital city of Xu Chang, coupled with much burning. When it was over, Cao gathered all the officials in the city. Those who left their homes to put out the fires were told to stand under a red flag; those who stayed in their homes were told to stand under a white flag. This was a trap: Cao assumed that all of the people who left their homes were really assisting the rebellion and would use the idea of "putting out fires" as an excuse. About two thirds of the officials (or more than three hundred total) placed themselves under the red flag, and all were executed. Those under the white flag were rewarded.
* In GrahamMcNeill's {{Warhammer 40000}} {{Ultramarines}} novel ''The Killing Ground'', Uriel and Pasanius's third ordeal is to fight Leodegarius, and they are defeated -- [[NoHoldsBarredBeatdown Pasanius unconscious, and Uriel unable to rise]]. Uriel tells him to GetItOverWith. Whereupon Leodegarius tells him that the ordeal is to ''lose'', because the only way they could have defeated him was the use of warp-based powers. Failure proves they are [[IncorruptiblePurePureness untainted]].
** Ultramarines seem to like this a lot, in one comic, a group of recruits have a race across the rocky mountain range barefoot, the two that came in last pass because they helped each other finsh the race. Space Marines are suppost to work together as brothers.
* In ''[[{{Conqueror}} Lords of the Bow]]'', Chen Yi once paid a boatman to offer Quishan safe passage away from Baotou, shortly after Quishan became a slave to Chen Yi to [[WorkOffTheDebt pay off a debt]]. Quishan refused out of honour - good thing too, as he would have had his throat slit if he said yes.
* In PhilipKDick's short story "The Exit Door Leads In", the protagonist turns out to be in a Secret Test Of Character. The title would give this away, but Dick cleverly includes a TitleDrop early on that appears to explain it.
* A ''DoctorWho'' ExpandedUniverse novel features the RealLife KillTheDog example outlined below; a young solider seconded to [=UNIT=] from the Marines was forced to do this by her previous commanding officer to be allowed to join the regiment. She admits that she initially felt proud of herself for having the 'character' to belong to the regiment after she did it, but cried herself to sleep later that night. It's used to provide a counterpoint to TheBrigadier, a much more humane and honourable soldier, who condemns the test and her previous commanding officer as a bastard.
* In Jim Butcher's DresdenFiles novel ''Summer Knight'', the Gatekeeper urges Dresden to give up because the task is far too large for him; the Council would never send a single wizard to do it. When he refuses, the Gatekeeper [[spoiler:promises him his vote. And says had he walked away, the Gatekeeper would have killed on the spot, since it would be the same effect as voting against him.]]
* In the HandOfThrawn duology, Talon Karrde has a green new crewmember stationed on deck when he comes out of hyperspace next to his ally [[XWingSeries Booster Terrick's]] ship, ''Errant Venture''. The ''Errant Venture'' is a captured Star Destroyer revamped into, basically, a luxury liner, but there's no way to tell just by looking at it that it's not part of a trap. After she realizes that no one's preparing for combat and that this really isn't a trap, she gets angry at her boss, telling him that she does not like to be made into a human joke. Karrde indirectly tells her that this is a way of testing how she reacts to sudden shocks, and she passed - she froze for a moment, her fur puffed out, but she recovered quickly. Karrde's new bodyguard observes after she's gone that he probably does this a lot, and this crewmember left something that the others probably didn't - claw marks.
* In ''LordOfTheClans'', [[MeaningfulName Thrall]] finally meets the surviving members of the Frostwolf clan. They treat him badly, refuse to train him as a shaman and assign him menial and degrading tasks. When he eventually objects loudly, they explain that [[ProudWarriorRaceGuy true orcs]] refuse to be slaves and accept him as their heir.
* One of these is used on [[spoiler: Aviendha]] in the {{Wheel of Time}} series. [[spoiler: She thinks she is almost ready to take the test to become a Wise One, but her trainers assign her more and more degrading punishments (well, degrading to an [[ProudWarriorRaceGuy Aiel]]) for some offense she doesn't even know she committed. She's very reluctant to ask what she did wrong, and when she finally breaks down and asks, it turns out that was the test - a Wise One needs to be able to stand up for herself and deal with other people being unreasonable.]]
[[/folder]]

[[folder: Live Action TV ]]

* The ''NewsRadio'' scene between Dave and Mr. James, quoted at the top of the page.
* On Big Brother Australia, one weekly task involved pretending to be police. They had to run the assault course twice. They were told that they would pass the test if the time of their second run was greater than that for their first. When they were quicker the second time around, they failed. They were then informed of the original instructions, they had to go slower on their second run. Being observant is a necessary trait for police officers.
* Both Worf and Picard challenge Ensign Sito to Secret Tests of Character in the ''StarTrekTheNextGeneration'' episode "Lower Decks."
**The episode "A Matter of Honor" puts Commander Riker (as part of a fancy "Officer Exchange Program") on a Klingon vessel. Long story short, because of "space barnacles" (They used fancier terms), the Klingon vessel thinks the Enterprise is out to destroy them, with the Klingon captain demanding that Riker tell them anything that could be used to help destroy the Enterprise. Riker refuses, citing his oath to Starfleet, as well as his oath the Captain Picard. The Klingon captain (after several seconds of bristling anger), points out that, if Riker had said anything, he would be too cowardly to serve on the vessel, and thus promptly killed.
** In the ''StarTrekTheOriginalSeries'' episode "Arena", Kirk passed a SecretTestOfCharacter by refusing to kill his Gorn adversary. This happens all the time in [[StarTrekTheOriginalSeries Star Trek]]: "The Corbomite Maneuver" "Specter of Gun," and "The Empath," to name a few.
** Wesley wrings his hands over a certain portion of the Academy entrance exam where he'll have to face his worst fear. Right before the exam is supposed to start, he hears an explosion coming from another room; he's only able to save one occupant. Of course, the test was to see if he could make such decisions.
** Troi takes a similar bridge officer's test, in which the only way to save the ship is to send Geordi to his death. She mistakes it for a test of technical knowledge at first, then realizes it's to see if she can make the best decisions for the good of the ship.
** A Voyager episode had Chakotay giving Tuvok a phaser and asking him to shoot the captain. It turned out to not work. Possibly a subversion: Tuvok deduced that it was a character test before pressing the fire button, since you don't give someone of questionable loyalty a live weapon.
** TheKobayashiMaru. Presents would-be Starfleet captains with a no-win situation, just to see how they handle themselves in such a circumstance. Apparently cheating and reprogramming the test is a viable answer.
* An episode of ''SavedByTheBell: The College Years'' featured Zack & company in an ethics class, in which the first session involved the professor stating that only half of the class would pass. After being a hardass all semester and playing up the difficult final, the professor releases the real final as a SecretTestOfCharacter by dropping copies of what look like answer keys. Between Zack's discovery of a fake "key" and TheReveal, HilarityEnsues.
* ''{{Stargate SG-1}}'' episode "Thor's Chariot". The Asgard use a holographic series of puzzles, including a test of character, to determine if the Cimmerians were advanced enough to meet them. Also from SG-1, the 'foothold situation' in "Proving Ground," and 'the radiation attack' on the stargate that tests Lt Elliott's ability to not leave a man behind.
* One ''GeorgeLopez'' episode has the manager forcing George to fire one of the two teams he's in charge of. One of them has his mom on it, but he fires that team anyway since the other team has been working better. Turns out the manager was merely testing if he'd fire his mom.
* In the first episode of ''WhoWantsToBeASuperhero'', the prospective superheroes are challenged to change to their secret identity without being seen and then race to the finish line. However, right before the finish there's a little girl, crying that she's lost and can't find her mommy; the true test is to see who would stop and help the little girl. (Only four of the ten contestants actually did.)
** The third episode pulls the same trick again, by asking the contestants to each choose a contestant that they would eliminate, and then explain why. In truth, this was a test of self-sacrifice; the correct response to the question was for each contestant to nominate him- or herself to be eliminated. Four of the six remaining prospective heroes passed this test.
** The second season had a scenario where the heroes are stopped by an adoring fan who wants a picture while they are supposed to be on a mission. The lesson was "humility".
** It's basically ''Who Wants To Be A Superhero'''s most common way of eliminating contestants.
* In the third season of ''[[TwentyFour 24]]'', Jack Bauer, infiltrating a terrorist ring, was given a gun and, not knowing that the gun was empty, told to shoot his partner, whom the terrorist had captured. He did. The fourth season had the same test repeated, with Dina Araz told to shoot Jack. She tried to shoot the lead terrorist instead.
* An episode of ''{{Will and Grace}}'' had Will take a job at a very prestigious law firm. The senior partner then ordered Will to defeat Grace in arbitration. Will obeys, but then immediately quits the job, saying that he can't work for a firm that would require him to betray his friend. The partner then pays Grace the money she was owed and gives Will a promotion, saying that he has all the coldhearted bastards that he needs.
* In the ''{{Taxi}}'' episode "The Wedding of Latka and Simka", the lovers undergo an old-world ceremony as per their religion. It climaxes with a question-and-answer test. The final question asks Latka: if a charging boar were going to attack Simka and a baby, and he could only save one, who would he choose? He chooses Simka, but is informed it was the wrong answer; thus, they cannot wed. Simka announces she will marry Latka even if they must defy their religion, and the reverend reveals that they have passed the real test - she's proven how much they truly love each other by putting that above all, and thus are worthy of marriage.
** An episode of ''PerfectStrangers'' had a similar situation, where Balki puts his cousin Larry and his fiancee through a series of ludicrous trials as a "Mepeot Marriage Test" to test if they are romantically compatible. Once the two have gone through this torture, Balki announces that the tests show they are completely incompatible, and their marriage is doomed to failure, to which they say ScrewDestiny, they're getting married anyway and they'll ''make'' it work. Balki's response? "Congratulations. You passed the Mepeot Marriage Test with flying colors."
* An episode of ''SabrinaTheTeenageWitch'' featured Sabrina and her twin Katrina, who are informed that one of any given pair of twin witches is good and one is [[EvilTwin evil]]. After it is determined which is which, the good twin must push the evil one into an active volcano - one of the few ways to destroy a witch, according to the episode. After various tests, Katrina is chosen as the good twin, and when they get to the volcano, she pushes Sabrina in without a second thought. Oops, turns out that was the final test, and Katrina just failed. (Fortunately for Sabrina, she managed to grab the rocky ledge on the way down.) And it turns out they were lying about the whole 'lava being fatal to witches thing' too.
* The magician Derren Brown once did a TV special where at the end of the episode, a volunteer would load one bullet into a revolver and Derren would predict which slot was used, firing five (hopefully empty shots) at his head and the bullet into the wall. The episode up to this point consisted of multiple secret tests of character to narrow the volunteers down to someone with the right mentality such that he was confident of pulling this off. For example, when the group was invited into an auditorium, the whole front row was dismissed for being too eager, later on they were split into groups of three and asked to vote one person out - that person went through to the next round.
* In BabylonFive, we have the case when Lyta accepted Ambassador G'Kar's invitation to help the Narns get a hand on the telepath gene years after he had asked (and after wich he had done a full HeelFaceTurn). G'Karr answered that he had to add another request to her list: That she and her fellow telepaths would be willing to spy on the other ambassadors. She refuses, starts to move away and G'Karr stops her and inform her that that was his last test. Had she answered yes, he could never trust her.
** Which is great. Except for the part where G'Kar setup a secret test of character against a [[FridgeLogic TELEPATH]].
* During a second-season episode of ''TheMightyBoosh'', Rudi gives his long-time partner Spider tickets to Rio de Janeiro and backstage passes to a Carlos Santana concert. When Spider refuses, and rips up the tickets, Rudi reveals that it was just a test. Parodied in a season one episode, where the tests involve not taking a flute and not sucking Rudi's balls when he asks (because "a lesser man would gladly suck my balls.")
*In {{Heroes}}, Hiro and Ando are searching for Usutu, an African who can see the future. The problem, obviously, is that Usutu knew they were coming and all. After Getting hit over the head with a shovel (twice), which you can read about in the {{Crowning Moment of Funny}} page, he finally decides that Usutu would be unable to handle two guys at once, at which time Usutu lets them get him, because Hiro decided to use his head instead of relying on his powers.
* In the reality TV series, ''Rebel Billionaire'', the first episode featured the contestants moving from their hotels to Richard Branson's home, with Richard Branson himself posing as the limo driver. Several of the contestants [[NiceToTheWaiter helped Branson load their luggage, and were very polite to him]]. Others, well... weren't. When Branson revealed himself, the polite people had a good laugh. The ones that weren't had [[OhCrap the expected reaction]]. Branson picked the two contestants who were (in his opinion) the worst of the lot, and they were removed from the show. Two contestants down, and it was only fifteen minutes into the first episode.
* In the [[strike:GrandFinale]] SeriesFauxnale of ''{{Scrubs}}'', [[ThePesci the Janitor]] claims that when he first meet J.D. he knew he accidentally dropped the penny that got caught in the door, and he hasn't been tormenting him for eight years because he was mad about the actual penny but because it was a test of character that J.D. failed. Of course, this is the Janitor, so he's probably just lying out his ass again.
*There was a recent show that had actors play out certain situations in public without the people around them knowing and with hidden cameras recording the scene. The situations involved things like a man drugging his date's drink while she was in the restroom, and a woman asking to cut into the grocery line and being the 5000th customer at the store, and they were performed to see how people not in on it would react. There were also variations done, like the date in the first scenario wearing skanky clothes and a modest dress in different 'performances'. Most people were not very amused when they found out that the scenes were hoaxes; the show was mainly created to show peoples' reactions to these kinds of situations.
* In ''TheWestWing'', the treatment that Will Bailey was subject to when he started working with the President's senior staff seemed to be a mixture of this trope (in order to determine whether he was of suitable stuff to work in the West Wing) and hazing, to the extent that it was frequently difficult to see where one ended and the other began. In one example, he was tricked into attending a meeting alone with the President to see whether he would 'tell the truth to power' and was considered to have failed in that he ended up stammering nervously for a few moments and then excusing himself in embarrassment. Will, who was under the assumption that his current post was pretty much a glorified temp job at the time, responded to this particular example with understandable resentment at being tricked and humiliated, and to the rest with a mixture of firm resolve and paranoia (since he never knew when he was being tested and when he was being pranked).
*One first season episode of ''{{Merlin}}'' (''The Labryinth of Gedref'') has Arthur required to pass some tests to remove a curse on Camelot. The last test is that he is told he and Merlin have to drink two cups, one of which is poison. He passes by pouring one cup into the other and drinking both, thus sacrificing himself. See [[Wallbangers/LiveActionTV Wallbangers/LiveActionTV]].
* ''TheDailyShow'' had a quiz to help the viewer determine whether he or she was a Real American (or a Fake American, as defined by Nancy Pfotenhauer and Sarah Palin). The final result: "[[spoiler:If you answered any of these questions, that means you're watching the Daily Show, so you're clearly not a Real American.]]"
* The reality show ''True Beauty'' runs on this trope: it's a reality show that made its contestants think it's a ''Next Top Model'' rip-off, but it judged their "inner beauty".
* This seems to be Robbie Ray's default method of parenting in HannahMontana. He routinely gives his kids enough rope to either prove themselves, or hang themselves. In the former case he's proud, in the latter he's usually ready with either an embarrasing punishment (like announcing to all of Miley's friends who think she can drive that he's dropping her off because she failed her driving test), a heartfelt speech containing the word 'bud', or a new, and suspiciously plot-relevant song.

[[/folder]]

[[folder: Mythology ]]

* Used in the ''ArabianNights'' miniseries, where the test is (supposed to be) shooting an apple off someone's head while blindfolded. The hero refuses to endanger the person and is told by the challenger that he had passed an essential test of character and won the challenge.
* At the end of the Hindu epic ''Mahabharata'', Yudhisthira arrives at the gates of heaven, accompanied by a dog. He is told that he can enter, but the dog must be left behind. During the journey to said gates, all of Yudhisthira's siblings had perished, presumably for being not worthy to enter heaven, except the dog. After all that they'd been through together, Yudhisthira refuses to abandon the dog, and turns away from heaven, then the fact that it was a SecretTestOfCharacter is revealed. This trope also appears in a number of other myths worldwide, making it OlderThanDirt.
** The same happens in the ''TwilightZone'' episode "The Hunt", with the added qualification that the real way to Heaven is just a bit down the road; the dog-fearing gates actually lead to Hell.
* The Swedish folk tale ''Which Is Which?'' has a King discover his long-lost son, who with another boy survived a ship wreck and was raised by a fisherman. The wisemen debate how to discover the true prince, and give both boys fine robes and send them off to enjoy the city for a week. One boy gets his robe muddy, soaked, burnt, and torn while helping people; the other boy locks himself in his room for the week. Back in court, the wisemen declare that the one boy obviously thought of nothing but himself and his fine clothes, while the other boy thought of other people and would make the better king. The king accepts the better boy with the words "My son, my son!" This may seem like ValuesDissonance (royal blood is automatically noble?), but then again, the Q&A section asks whether he found the true Prince, or merely selected the one who would make the better King.
** Lost princes and princesses raised by other people being identified ''as'' lost royalty by their looks or manners, even if they went missing right after birth, isn't a wholly unknown concept in folk and fairy tales. Many of which can probably be traced back to times when people would have readily agreed that yes, royal blood ''should'' automatically make you noble (in ''both'' senses of the word, RealLife evidence to the contrary notwithstanding). See, again, ValuesDissonance.
** Portrayed in the Arabian Nights miniseries (and hence, probably, the source material), the Sultan swaps places with an unwitting beggar who, once he gets over the shock of his new identity, takes earnestly to ruling all of Araby. When the true Sultan is accidentally slain, his advisers perpetuate the ruse indefinitely, favoring the newer and more responsible regent.
* One Chinese folktale tells of an Emperor who had no children, and wanted to pass on the throne to someone worthy. So he sent every child in the kingdom a seed to grow, and after one year he would judge the flowers they produced and pick his heir. One little peasant boy received his seed and cared for it extensively, getting it the best soil and sunlight, but no matter what he did it didn't grow. Finally, at the end of the year he went to the palace with his empty pot and was sure he would lose, since the flowers the other children had were all magnificent and beautiful while he had nothing. However, when the Emperor came to his pot and the boy tried to explain that he had tried to do the best for his seed but it still had not grown, the Emperor stopped and declared him to be the winner. Turns out, all the seeds he had given to the children were cooked and would never grow, but only this little boy had the courage and honesty to not replace it with a live seed and admit that he may have done something wrong. The [[AnAesop Aesop]], of course, is that honesty is required in a leader, even if the consequences may be humiliation or loss of face. The tale was adapted into the children's book ''The Empty Pot'' by Demi.
* The Arthurian myth of ''Sir Gawain and the Green Knight'' is a spoof of this, as TheHero doesn't pass the test but is told it's [[{{Deconstruction}} unreasonable]] to expect anyone in RealLife to be noble enough to choose doing the right thing over saving his own life anyway.
** [[AlternateCharacterInterpretation An alternate reading]] could suggest that the hero almost, but not quite, passes the test. [[AnAesop The Aesop]] was that virtue and right came before courtesy and manners.
** For those not familiar: while waiting for the day when he must let the Green Knight strike at his neck, Gawain stays at a castle where the lady gives him gifts, on the condition that he give the Green Knight the same gifts when he returns. He does so, except for the last gift, a garter that she says will make him invincible. When the time comes, the Green Knight deliberately stops short twice (for the first two gifts Gawain did indeed return) then gives him a small nick for the last one. Gawain's deep contrition at this failure, by accepting the gift, is indeed treated with some humor.
** There's a second story about Gawain that features this trope: Ragnell, a hideous hag of a woman, comes to court and demands a favor of Arthur, who agrees. The favor turns out to be marriage to Sir Gawain, who rather reluctantly goes along with Arthur's wishes. After the wedding, Gawain and Ragnell return to their chambers. Suddenly, Ragnell the hag transforms into her true form, that of a beautiful maiden. She gives Gawain a choice: either she can be beautiful during the day and hideous at night, or vice-versa. He returns the choice to her; this was the correct answer all along, and since it proves his chivalry and respect for her, she can remain in her beautiful form all the itme.
* An illustrated riddle book told of two people suspected for a crime each being given a stick and told that they were magical sticks that would grow longer overnight when in the possession of a criminal. The riddle question was: why was the person with the ''shorter'' stick arrested for the crime the next morning? The answer: [[spoiler:The sticks were not magical, but the guilty person, not knowing this, had cut off part of his stick, while the innocent one didn't bother tampering with his own because he knew he had nothing to fear.]]
** A similar story tells of a farmer whose chickens are being stolen, and he knows one of his two hired hands is guilty, so he confronts them and says he'll give them a foolproof test; a black chicken in a box who's a natural lie detector (it will crow loudly when the thief touches it). Reach in there and touch the chicken, the farmer says, and I'll know who's the thief. The first man reachs into the box, then withdraws his hands without a mark on them. The second reaches in, and his hands come out stained black. The chicken doesn't crow either time. But the bird was actually white, with soot sprinkled on it; and the farmer knows the ''first'' man is the thief, because only a guilty man would be afraid to test his honesty.
** And yet ANOTHER variant, from EC comics, at least three short stories (and perhaps even in a book in an [[TheElderScrolls Elder Scrolls]] game), there's an unsolved locked room murder, with only three people who possibly could have done it, but there's no evidence to convict anyone, and they all go free. Some time later, the deceased's father holds a memorial dinner and invites the three. After dinner, he plops a glass of liquid down and proclaims that he's figured out the murderer's identity, and poisoned his food. The glass contains the antidote. One of the three gulps it down...and collapses, gasping and twitching. The father had no idea who the killer was; the "antidote" was the poison. Most versions of this story have an [[OuterLimitsTwist Outer Limits Twist]] where the man who drank the poison wasn't the killer, he just panicked...and sees one of the other two smirking at him as he dies. The ElderScrolls story is a subversion--it's a test given by a noble to find TheMole, but pretty much everyone at the table is guilty--including the narrator. The victim just panicked before the others.

[[/folder]]

[[folder: Tabletop Games ]]

* The Guardians of the Veil (a sort of wizard intelligence agency) in White Wolf's ''[[WorldOfDarkness Mage: The Awakening]]'' have a series of moral tests for prospective members. They are told to do a series of more and more morally questionable actions. In the final test they are asked to do something [[CompleteMonster completely reprehensible]]. If they obey, they are refused membership and monitored from then on as a potential risk. If they refuse, they are granted membership. The Guardians don't want mindless drones; they want strong-willed individuals who will do what is right.
* The ''[[StarTrekTheNextGeneration Star Trek: The Next Generation]]'' TabletopRPG. According to the ''Starfleet Academy'' supplement, applicants to and cadets at the Academy are almost constantly being given [[SecretTestOfCharacter Secret Tests of Character]] to determine if they belong in Starfleet. In RealLife, even reasonable people in that situation would either:
** (a) start worrying that ''everything'' that happened was such a test.
** (b) stop trusting anything they were told by Starfleet personnel unless they could verify it.
** (c) get so annoyed at being regularly lied to by people they're supposed to trust that they quit, or
** (d) decide that a life-threatening situation was "just another test" and not take it seriously, causing people to get killed.
* Dungeon Masters playing Dungeons and Dragons are notorious for doing this to their players playing Paladins, who lose their powers and have to undergo an arduous atonement if they act outside of their code.

[[/folder]]

[[folder: Theater ]]

* In ''{{Macbeth}}'', Malcolm claims he might be a worse king than Macbeth, because he is so full of lust and greed. Macduff reacts with consternation, but then Malcolm tells him it's all a lie and in fact he's the most virtuous Boy Scout in Scotland. It's not completely clear, but it is possible Malcolm is testing Macduff to make sure his first allegiance is to the benefit of Scotland.
** Malcolm suspects that Macduff may be an agent of Macbeth trying to lure him back to Scotland and into a trap. If that were the case, he would expect Macduff to respond along the lines of "It doesn't matter how bad you are; come back anyway." Instead, Macduff exclaims, "Alas, poor Scotland!" signaling to Malcolm that Macduff's goal is to save his country, not simply to bring back Malcolm.
** According to one interpretation, Macbeth himself may have been subject to such a test. The witches' prophecy told him that he would first become Thane of Cawdor, and then king hereafter. However they didn't tell him how or when he would become king. They did not convince him to plot with Lady Macbeth to murder king Duncan, they did not place daggers into his hands, and they did not force him to commit the deed and cover it up. He did all that on his own, out of his own free will. If the prophecy had been truly inevitable, Macbeth could just as easily have sat back and rested on his laurels until it happened on its own. Needless to say, he failed the test of character. Big time.

[[/folder]]

[[folder: Video Games ]]

* In ''BreathOfFire II'', there is a point where Ryu has to undergo a test to earn the Infinity/Anfini power to defeat the game's BigBad. The one trial is that he must sacrifice just one of his "most faithful" companions for the power. [[spoiler: To pass, he must pick "no one" and stick to it until the very end... despite the fact that it's intimated that ''you'' will bite it if one of your party members don't, as the Dragon Clan's vengeance on you for not living up to destiny. Your willingness to kill the universe rather than kill a friend is, in fact, the real test, which Ryu passes with flying colors.]]
* ''Lunar: Silver Star Story Complete'' has a tower contains a series of character tests. First the party stumbles upon a man who is injured and pretending not to be that needs to be healed. The next area has the main character asked to dismiss his weakest character (in which the answer is to refuse to in the first place). The final puzzle requires the characters to mold something "beautiful", in which the main character is the only one that passes because he makes a statue of the girl he loves.
** It's worth noting that the tester misunderstands the subject of the statue though... He doesn't think it's Luna but rather the Goddess Althena who supports the whole world and such. Of course [[spoiler: Luna IS Althena, so he wasn't wrong.]]
* Parodied in ''{{Portal}}''. In one test, the character is given a companion to help her solve the puzzles, and is then ordered to incinerate it at the end. The companion? [[CompanionCube A large inanimate cube with a heart drawn on each side]]. If you explore the area fully, you can find evidence that several previous test subjects formed a significant bond with this "weighted companion cube"... Several real players apparently feel the same way. MissionControl will then smack you across the face with its words for being such a Yakoff.
** Also, earlier in the game, GlaDOS starts a test chamber by informing you that it is unsolvable. Then, when you do solve it, GlaDOS says it was all a test to see how you would handle a seemingly hopeless situation. "In the face of extreme pessimism you show resolve"
*The ending in ''{{Disgaea}}'' actually turns out to be a Secret Test of Character. [[spoiler:Seraph Lamington, ruler of Celestia, turns LoveFreak Flonne into a flower]] as punishment for [[spoiler:harming other angels in the process of defeating]] [[BigBad Archangel Vulcanus]], in order to see how Demon Prince Laharl reacts. (The game has MultipleEndings, so whether Laharl "passes" depends on the player.)
** It's ''way'' too easy to fail that one, GuideDangIt! If you [[spoiler:get so much as a ''single'' teamkill during the game, even an accidental one]] you have to settle for second best.
*''QuestForGlory 3'' had an interesting example. You engage in a series of contests with the chief's son, to see which one of you will get the title of a warrior. During the race, he easily outruns you [[StatisticallySpeaking regardless of your stats]], and manages to fall into a trap. You can either gloat and keep racing, or help him out. The karma reward is swift and obvious. However, unlike other secret tests, you can win the title even if you fail in this particular instance.
* This trope is used in the amateur but popular RPG Maker game ''A Blurred Line''. The protagonist, Talan, seeks refuge from an evil Agency in a town known as Paradise, but only those judged of sufficient moral strength are permitted to reside there. He is told he will tested the next morning. However, that night he hears crying outside and sees a young woman about to commit suicide by jumping off a cliff. His attempts to stop her ultimately fail and he dives off the cliff after her. The woman lands safely in pool of water at the base of the cliff but Talan lands painfully on the rocks below. As a result of his heroism, the people of Paradise waive his trial and permit him to stay. [[spoiler: It is eventually revealed that the woman who jumped was an actress and the entire event was in fact the trial itself. It is implied that Talan is the only person to join the town to actually pass it.]]
* This seems to be popular in StarTrek games. The final puzzles of Star Trek: [[spoiler: Judgment Rites]] and [[spoiler: [[ColonCancer Star Trek: The Next Generation: A Final Unity]] ]] hinge on these.
* In BaldursGate 2, [[TokenEvilTeammate Korgan]] [[{{Jerkass}} Bloodaxe]] will constantly berate Aerie, who will eventually bail out of the party. In the ExpansionPack, Aerie will eventually insult him straight back, at which point Korgan tells her that he was trying to see if she'd develop a backbone and now that she has, he's OK with her.
* Parodied in the SoulCalibur 4 omake manga, Cassandra (who has been "teaching" Hilde about the game mechanics) talks like a typical instance with lines that wouldn't be out of place in the "kill the mentor" varient like [[http://www.otadesho.com/files/sc4_2/03trans.jpg "The time has come to say goodbye" "I don't have regrets for my life" "Now finish me with the secret technique critical finish!!!"]] and Hilde does so (in tears!), [[ATwinkleInTheSky throwing her into the sky]] and weeps about how she will never forget her. [[http://www.otadesho.com/files/sc4_2/04trans.jpg Cassandra then comes out of nowhere]], to Hidle's [[FaceFault shock]].
*Phantom, one of the [[FourIsDeath Four Guardians]] in ''MegaManZero'', dies in the first game [[spoiler:trying to stop Zero, but failed]]. When he resurfaced in the third game, he fights Zero once again, this time as a BonusBoss. Turns out he didn't want to kill Zero outright, but only to [[spoiler:see if Zero still has what it takes to be a hero, especially since Phantom learned that Zero's using a clone body]].
-->'''Phantom''': You truly did... have the soul of a hero... Go... Cross blades with Omega, and show what that body can do! Will your blade flinch after you know the truth? Do you have what it takes...to be a hero? You must be the one to determine that!
*In ''{{Lufia}} 2'', after you save the king's crown, you're offered one of several rewards. You're actually rewarded with money no matter what you choose, but you get the most money should you tell him to KeepTheReward.
*In ''[[SuperMarioBros Mario & Luigi: Partners in Time]]'', the heroes are judged by a magic door on their inner character before being allowed through. Mario passes, and the babies, as babies, are judged to be pure enough, but the door doesn't believe Luigi qualifies. It encourages the rest of the team to go on without Luigi, but Mario insists on bringing Luigi along, so the door says that Luigi's worthiness can be proved if he can reach a certain block. As they return after reaching the block, the block asks Luigi to tell him who was the one who did the work, with the options being "Mario", "the babies", or "Me!" Doesn't matter what you answer, the door yells at you, finally insisting that the proper answer (which wasn't even an option) was that ''everyone'' contributed. In response to this, Luigi breaks down, but Mario quickly comes to his defense and the babies start hitting the door with their hammers. Then the door settles down and reveals that Luigi's actually plenty worthy, but the door just wanted to test how they work as a team, so Mario and the babies insisting on staying with Luigi and coming to his defense was exactly what he wanted to see.
** Also from the Mario series, in ''PaperMario: The Thousand Year Door,'' during one FetchQuest you are asked by the NPC to pay for the privelege of having his PlotCoupon. You can pay 10 coins, 50 coins, or 100 coins, or you can choose to give him all your money. Doing so leads to him asking to confirm that you're going to give him all your money, making it very difficult to do anything in the future. He'll give you the item, then tell you it was a test to see how much you wanted it, and give you your money back. Doubly subverted in that A) you can get by with paying less than 10 coins, or even no money at all, with this option; and B) he probably would have kept the money if his wife and son weren't standing right next to him.
*In ''FinalFantasyIV'', Cecil, the protagonist, must [[spoiler:'fight' a dark version of himself in order to become a paladin. In actuality, winning the fight entails Cecil only standing still (or Guarding) whilst a series of messages pop up.]]
** Quite a few of them pop up in Cecil's Paladin trials, like accidentally breaking a vase and being questioned for it ([[spoiler:tell the truth]]), facing a monster who claims to be a human under a BalefulPolymorph, ([[spoiler:spare him]]), or being asked to find someone's Golden Apple ([[spoiler:give it to him]]). The more right answers the player has, the better the weapon at the end is, and if all of them are right, you get the InfinityPlusOneSword.
** Kain's trial in Advance, centered around dealing with the darkness in his soul and coming to terms with his unrequited feelings for Rosa, also qualifies, especially the part at the end where he [[spoiler:must decide whether to kill Cecil]].
* ''BatmanArkhamAsylum'' contains a few of these mixed with MindScrew. During the player's first encounter with Scarecrow, they find themselves in the medical facility's Morgue and tasked with actually tracking the villain down. Upon entering the room, the vaults along the walls swing back and forth rapidly with the corpses within doing the typical ominous "Get out" and "You're not welcome here", growing louder and more threatening the longer the player stays in the room. The player can then decide to ignore the (NightmareFuel-inducing) heckling and search the room for clues and another exit or comply with their demands and leave the way they came in [[spoiler:which is exactly what they needed to do all along!]] The next instance is the third encounter with Scarecrow, which places the player into an Interactive Cutscene [[spoiler:that replays the opening of the game, only with positions reversed, i.e. Batman is strapped to the patient's guerney and the Joker is the one walking along behind him.]] When the cutscene ends, the Joker pulls out a gun and shoots Batman in the face, sending the player to a Game Over screen. Now, getting a Game Over will prompt the game to give you a tip on how not to screw up next time, and this one's no different: "Use the middle stick to dodge the Joker's gunshot". [[spoiler:Take a second to look for a middle stick on your controller.]] The player is given only two options, Retry and Quit. With no obvious way of avoiding another Game Over, [[spoiler:(Did you find that middle stick yet?)]] the unassuming player will admit defeat and choose Quit (and then probably go look it up on GameFAQs). [[spoiler:Only those who choose Retry anyway will discover that it was only Scarecrow, and the game's designers, pulling another fast one on you.]]
* {{Ultima}} game from IV onward had a test that was unique in that there were no wrong answers. The purpous of the was was to decide what class the player would get.

[[/folder]]

[[folder: Webcomics ]]

* Subverted in ''CollegeRoomiesFromHell''. When it's clear that Dave won't [[WeCanRuleTogether become Vernon's assassin]], Vernon tries and fails to convince him of the morality of killing "evil" people in cold blood. This is a test to make sure Dave is NotWorthKilling; Dave, however, sees through it, gives the "right" answers...and incinerates Vernon the minute he gets loose.
* Xykon pulls the villainous version of this on [[spoiler:Redcloak]] in the ''OrderOfTheStick: Start of Darkness'' prequel book. Allowing him to [[spoiler:kill his own brother]] as a secret test of loyalty.
* ''{{Misfile}}'', Ash's father has Rumisiel re-roof his house and dig a new leach field for the septic tank as a test of how long it would take Rumi to blow it off. Subverted in that if [[PsychoExGirlfriend Cassiel]] had not distracted him by claiming a threat to Ash's life then Rumi would have completed those tasks. A possible more meta example is that Rumisiel's handling of the [[RetGone misfile]] itself may be a secret test by his [[PointyHairedBoss superiors in heaven]], but this remains [[EpilepticTrees a fan theory]] pending WordOfGod either way.
* A college-age Wonderella fails her entrance exam to Bob Jones University this way in ''TheNonAdventuresOfWonderella''. The test was multiple choice, with an automatic failure to anyone who darkened the perfectly pure, white ovals. ("Racial purity must never be compromised!")
* In ''DominicDeegan'', [[spoiler:the titular seer's cruise vacation turned out to be one of these. Rilian tested Dominic and Luna through their interactions with the different people they met with, and if Dominic had failed any of the tests, Rilian was prepared to kill him on the spot rather than risking Dominic going through a psychotic Mindbreak.]]
* In ''{{Series/No Rest For the Wicked}}'', November meets an old beggar woman. She gives her some of her food the first time she asks, and then the second, but the third, she gets angry. As a consequence, the old woman both gives her the information about TheQuest and curses her.
* Baron Wulfenbach of ''GirlGenius'' enjoys using these on his son, the first one we see involving an analysis of an apparently important but ultimately non-working invention of his to see if Gil was sure enough of his own skills as a [[MadScientist Spark]] to point out that his overlord father made a mistake. He gives these often enough that Gil tends to asks his father with an annoyed tone if an unexpected occurrence was actually one of his little tests for him.
* Ki of GeneralProtectionFault contacts Nick, whom she has a crush on, under the alias Pookel and starts a brief cyber-relationship with him, setting up a date at the movie theater with his online alias and claiming to have been stood up by her date when she meets him. She eventually gets together with him in real life without telling him about Pookel, and contacts him as Pookel to see if he's loyal to her, and he tells Pookel that they should be JustFriends, showing that he is. He later finds out that she is Pookel, and is initially angry that she did not tell him, but forgives her.

[[/folder]]

[[folder: Western Animation ]]

* Parodied in an episode of ''FamilyGuy'', in which Peter refuses to take an ordinary looking college exam, only to learn that refusing to take the test ''was'' the test.
*In [[DisneyAnimatedCanon Disney's]] ''Aladdin'', the Cave Of Wonders acts as a combined Test of Character and DeathTrap for those who are unworthy. The irony being that Aladdin himself was indeed trustworthy, while his [[EverythingsBetterWithMonkeys monkey]] wasn't. But who trusts a monkey anyway? The Beatles. Everybody else has something to hide.
* Partial example in ''AvatarTheLastAirbender''. While not an intended test, Piandao accepts Sokka because he's the first student to come to him who admitted that he was not worthy, and thus proved that he was open enough to learn. He later rewards him with a White Lotus Pai Sho piece for admitting that he lied and was not a Fire Nation Colonist (which Piandao had figured out long ago, due to Aang's presence and Sokka's name). It's stated on the DVDCommentary that pretty much ''everything'' Piandao did was some kind of test.
* Parodied in an episode of ''AmericanDad'', where Stan's boss Bullock claims that all his {{Jerkass}} behavior was just a test to see if Stan could stand up to him. In truth, Bullock really ''was'' just a huge {{Jerkass}} and came up with the whole test thing at the last minute to keep Stan from killing him.
* In an episode of ''TheLandBeforeTime'' Littlefoot is tested on his ability to one day become the leader of a herd. One test involves retrieving a red leaf from a small island in the middle of a lava pit. After much deliberating, Littlefoot finally concedes that he can't find any safe way across. He is then informed that that was the test and that the point of leading a herd is to put their safety first.
* In the second ''[[WesternAnimation/TeenageMutantNinjaTurtles2003 Teenage Mutant Ninja Turtles]]'' series, the turtles, who have been kidnapped along four other people, are subjected to one of these by their kidnappers, the Ninja Tribunal. The Tribunal states that the kidnappees must fight each other to the death, and that only those who survive would become the Tribunal's students. The kidnappees refuse, attacking the Tribunal instead and therefore passing the test.
* The SouthPark episode "Pinewood Derby"'s [[hottip:spoiler - click to reveal:ending reveals that the whole plot of the episode was just one big test of character to decide whether Earth gets let into the Galactic Federation after having discovered warp travel when Randy enhanced Stan's Pinewood Derby car with a supermagnet from the Large Hadron Collider. Earth fails and is barred from the rest of the universe. As Randy says at the end of the episode "Well that sucks!"]]
* Professor Wizgiz in ''WinxClub'' pulled one of these on all the students by telling there there would be a pop quiz the next day, and letting them all find envelopes which appeared to contain the answers. In reality, the envelopes contained dust puffs, which let him easily see who was honest enough not to open them.

[[/folder]]

%%
%% No real life examples, please.
%%
----
<<|NarrativeDevices|>>