  Self-testing is a device independent method which can be used to determine
the nature of a physical system or device, without knowing any detail of the
inner mechanism or the physical dimension of Hilbert space of the system. The
only information required are the number of measurements, number of outputs of
each measurement and the statistics of each measurement. Earlier works on self
testing restricted either to two parties scenario or multipartite graph states.
Here, we construct a method to self-test the three-qubit $W$ state, and show
how to extend it to other pure three-qubit states. Our bounds are robust
against the inevitable experimental errors.
