Manage your team’s code, build and test your apps, and plan and track your team’s work these can be achieved with Visual Studio and Team Foundation Server on your own server.
However, for test in TFS. TFS itself won't shipped with Test Automation tools. TFS use Microsoft Test Manager, a separate Team Foundation client, lets you manage and execute test cases and create and manage physical or virtual environments. It installs with select Visual Studio editions.
Testing tools with VS
Visual Studio will include many powerful testing Tools and Services such as Load testing ,Continuous testing in DevOps,Manual testing,Exploratory testing,User acceptance testing,Unit testing and IDE... More details please refer Testing Tools and Services
If you want to quickly get started, here is also a help link Get started with developer testing tools
Overall Test Solution
If you need an overall Test solution, suggest you to use Visual Studio Test Professional
Lisense
Moreover, also provide some license info for your reference: Subscriber Benefits