פּירוש אויף דברים 6:17

שָׁמ֣וֹר תִּשְׁמְר֔וּן אֶת־מִצְוֺ֖ת יְהוָ֣ה אֱלֹהֵיכֶ֑ם וְעֵדֹתָ֥יו וְחֻקָּ֖יו אֲשֶׁ֥ר צִוָּֽךְ׃

היטן זאָלט איר היטן די געבאָט פֿון ה׳ אײַער גאָט, און זײַנע אָנזאָגן און זײַנע געזעצן, װאָס ער האָט דיר באַפֿױלן.

Chizkuni

ועדותיו, “and His testimonies.” This is a reference not to violate negative commandments.
פֿרעגט אַ רבֿBookmarkShareCopy

Tur HaArokh

שמור תשמרון את מצות וגו'... ועדותיו, “observe the commandments…and His testimonies” Most of the “testimonies” are commandments designed to perpetuate in our collective memories these very miracles G’d has performed for us. We eat unleavened bread on Passover to commemorate the Exodus, we either offer the Passover, or remember it symbolically on our Seder plate when unable to offer sacrifices. We leave our homes and spend a week in a flimsy hut in order to commemorate that our G’d whom we worship kept an entire nation not only alive and well, but did so for 40 years in a totally inhospitable desert, although their conduct on occasion would have caused other rulers to abandon them. What is said here concerning not testing G’d is equally applicable to G’d’s established prophets. Once a prophet has proven his credentials as a true prophet, he is not to be subjected to constantly having to prove that he is still enjoying G’d’s ear. In the course of his speeches, Moses will also tell the Jewish people that should there be times when there are no prophets this is no reason to abandon G’d’s commandments, as there are competent sages, Rabbis, who are always at hand to inculcate the younger generation with authentic teachings of the Torah and the Books of the Prophets, as well as the deliberations of the oral law in Mishnah and Gemara.
פֿרעגט אַ רבֿBookmarkShareCopy

Rabbeinu Bahya

שמור תשמרון את מצות ה’ אלו-היכם, “be certain to observe the commandments of the Lord your G’d.” This is a continuation of the prohibition to put G’d to the test. Rather, we are to unconditionally observe the commandments in the firm belief that generally speaking you will find that this pays off also in this world and is beneficial for your body, even. By keeping the commandments you will do what is good and right in the eyes of the Lord. This is why Moses adds the words למען ייטב לך, “so that it will prove to be good for you.” It stands to reason that people who are loyal to their king and observe his laws will be recognized as such and be suitably rewarded. The same holds true when you serve the King of Kings in even increased measure. After all, the whole reason G’d issues commandments to His creatures is for their benefit as repeated in 10,13.
פֿרעגט אַ רבֿBookmarkShareCopy