Separately from these designations, nuclear tests are also often categorized by the purpose of the test itself.
Weapons-related tests are designed to garner information about how (and if) the weapons themselves work.