Term: crapping the bed
Example: aww man i crapped the bed on that math test  he sure crapped the bed on that test  so far im crapping the bed on this unit
Definition: crapping the bed means to do so horribly bad on something such as a test