As already mentioned, poker has no absolutes (although some things come pretty close). Pocket Tens is a nice hand preflop, but of course it depends on the table dynamics, opponent playstyles, effective stacks and many other potential variables.
If short stacked (generally 20 bbs or less is considered short stacked), then TT is a really powerful hand. Certainly 15bbs or less with an ante (10bbs or less with no ante) is probably a profitable All-In for most scenarios.
Compare this to deep stacked poker where TT All-In could be just short of chip stack suicide though.
If a Heads up Villain has two overcards (KQ, AJ and so on), then TT is only about 50% here, but pre-flop All-In against a random hand, TT is about a 75% favorite.