In this article, we propose a general framework for distribution-free nonparametric testing in multi-dimensions, based on notion of multivariate ranks defined using the theory measure transportation. Unlike other existing proposals literature, these share number useful properties with usual one-dimensional ranks; most importantly, are distribution-free. This crucial observation allows us to des...